diff --git a/src/components/logo.tsx b/src/components/logo.tsx index b765055..eb90c92 100644 --- a/src/components/logo.tsx +++ b/src/components/logo.tsx @@ -5,16 +5,9 @@ import Image from "next/image"; import React from "react"; export default function Logo({ withText, ...props }: any) { - const [randomColor, setRandomColor] = React.useState(LOGO_COLORS[Math.floor(Math.random() * LOGO_COLORS.length)]); - React.useEffect(() => { - const interval = setInterval(() => { - setRandomColor(LOGO_COLORS[Math.floor(Math.random() * LOGO_COLORS.length)]); - }, 2000); - return () => clearInterval(interval); - }, []); return (