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 (