diff --git a/src/components/Logo.tsx b/src/components/Logo.tsx index ea5bc3c..114f5d2 100644 --- a/src/components/Logo.tsx +++ b/src/components/Logo.tsx @@ -9,6 +9,11 @@ export default function Logo({ ...props }: ComponentProps<"svg">) { setTimeout(() => { + if (!ref || !ref.current) + { + return; + } + hover(ref.current, { y: [0, 10, 0, -10, 0], }, {