From 7dc83342740c4302c0016afa10d762156cb52f35 Mon Sep 17 00:00:00 2001 From: JJongBin Date: Sun, 11 Dec 2022 14:05:49 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20#179=20=EC=9E=AC=EC=8B=A4=ED=96=89?= =?UTF-8?q?=EC=8B=9C=20=EB=8B=A4=EC=8B=9C=EC=97=B4=EA=B8=B0=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/component/Info/Help.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/Info/Help.tsx b/frontend/src/component/Info/Help.tsx index 1878c8d..ec5cb85 100644 --- a/frontend/src/component/Info/Help.tsx +++ b/frontend/src/component/Info/Help.tsx @@ -10,7 +10,7 @@ import * as style from './info.styled'; const Help = () => { const [isShowModal, setIsShowModal] = useState(false); const [animation, setAnimation] = useState('show'); - const [setOpen, isSetOpen] = useState(true); + const [setOpen, isSetOpen] = useState(false); const setOpenModal = () => { isSetOpen(!setOpen); @@ -31,7 +31,10 @@ const Help = () => { useEffect(() => { const openHelp = localStorage.getItem('openHelp'); - if (openHelp === 'open') setIsShowModal(true); + if (openHelp === 'open') { + setIsShowModal(true); + isSetOpen(true); + } }, []); return (