Skip to content

Commit 1b5a4a9

Browse files
committed
refactor: simplify Button component structure in SmartLinkGroup
1 parent 5519dab commit 1b5a4a9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/SmartLinkGroup.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ export default function SmartLinkGroup({
7474
return (
7575
<div className="content flex items-center gap-1">
7676
{!isCurrentPage ? (
77-
<Button
78-
variant="link"
79-
className="h-auto gap-1 p-0 text-sm"
80-
asChild
81-
>
77+
<Button variant="link" className="h-auto gap-1 p-0 text-sm" asChild>
8278
<Link
8379
to={`/${getChainFromId(chainId)?.slug}/${basePath[type]}/${addressOrId}`}
8480
>

0 commit comments

Comments
 (0)