From 907ad8cd7b079ff578e9c1d650b6ad0ca5f170a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Thu, 11 Feb 2021 21:11:28 +0900 Subject: [PATCH] fix: theme systems --- components/Footer.tsx | 2 +- pages/_app.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 (