Skip to content

Commit eca8331

Browse files
committed
Update Button component to use 'asChild' prop for proper rendering
1 parent 12e6d04 commit eca8331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/myData/protectedDataList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default function ProtectedDataList() {
131131
confidential messaging.
132132
</p>
133133
</div>
134-
<Button className="mx-auto sm:ml-0">
134+
<Button asChild className="mx-auto sm:ml-0">
135135
<Link to="/my-data/add-protected-data">Create new</Link>
136136
</Button>
137137
<img

0 commit comments

Comments
 (0)