diff --git a/website/src/components/Footer.tsx b/website/src/components/Footer.tsx index fc88368e..335699a2 100644 --- a/website/src/components/Footer.tsx +++ b/website/src/components/Footer.tsx @@ -1,6 +1,7 @@ import { useColorMode } from "@chakra-ui/react"; import Image from "next/image"; import Link from "next/link"; +import { useMemo } from "react"; export function Footer() { const { colorMode } = useColorMode(); @@ -9,7 +10,7 @@ export function Footer() { return ( ); } + +const FooterLink = ({ href, label }: { href: string; label: string }) => + useMemo( + () => ( + + {label} + + ), + [href, label] + );