We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a99065c commit d93e8bdCopy full SHA for d93e8bd
src/app/components/IconLink.tsx
@@ -8,15 +8,15 @@ interface IconLinkProps {
8
}
9
10
const IconLink: FC<IconLinkProps> = ({ icon, text, href }) => (
11
- <Link href={href}>
12
- <Button
13
- aria-label={text}
14
- className="flex items-center focus:text-blue-500 focus:underline hover:text-blue-500 hover:underline bg-white"
15
- startContent={<div className="w-5">{icon}</div>}
16
- >
17
- {text}
18
- </Button>
19
- </Link>
+ <Button
+ as={Link}
+ href={href}
+ aria-label={text}
+ className="flex items-center focus:text-blue-500 focus:underline hover:text-blue-500 hover:underline bg-white"
+ startContent={<div className="w-5">{icon}</div>}
+ >
+ {text}
+ </Button>
20
);
21
22
export default IconLink;
0 commit comments