diff --git a/components/Footer.tsx b/components/Footer.tsx index 23c42a3..ccc4004 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -7,7 +7,7 @@ import { useState } from 'react' import { Theme } from '@types' const Footer = ({ color, theme, setTheme }:FooterProps): JSX.Element => { - const [ checked, setCheck ] = useState(true) + const [ checked, setCheck ] = useState(theme === 'dark') return (