mirror of
https://github.com/vercel/commerce.git
synced 2025-07-14 16:31:22 +00:00
🐛 bug: hide modal authen in initial
:%s
This commit is contained in:
parent
ff30cb65f1
commit
6db0d9d67a
@ -12,7 +12,7 @@ import s from './Header.module.scss'
|
||||
|
||||
const Header = memo(() => {
|
||||
const [isFullHeader, setIsFullHeader] = useState<boolean>(true)
|
||||
const { visible: visibleModalAuthen, closeModal: closeModalAuthen, openModal: openModalAuthen } = useModalCommon({ initialValue: true })
|
||||
const { visible: visibleModalAuthen, closeModal: closeModalAuthen, openModal: openModalAuthen } = useModalCommon({ initialValue: false })
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener('scroll', handleScroll)
|
||||
|
Loading…
x
Reference in New Issue
Block a user