📌fix: setMenunumber effect 수정
This commit is contained in:
parent
4301ea97ba
commit
078f259deb
@ -6,8 +6,8 @@ import { useCanvasMenu } from '@/hooks/common/useCanvasMenu'
|
||||
import { useCanvasSetting } from '@/hooks/option/useCanvasSetting'
|
||||
import { usePopup } from '@/hooks/usePopup'
|
||||
import '@/styles/contents.scss'
|
||||
import { notFound, usePathname, useSearchParams } from 'next/navigation'
|
||||
import { useRecoilState, useRecoilValue, useSetRecoilState } from 'recoil'
|
||||
import { notFound, useSearchParams } from 'next/navigation'
|
||||
import { useRecoilState } from 'recoil'
|
||||
import { correntObjectNoState } from '@/store/settingAtom'
|
||||
|
||||
export default function FloorPlan({ children }) {
|
||||
@ -39,7 +39,7 @@ export default function FloorPlan({ children }) {
|
||||
return () => {
|
||||
closeAll()
|
||||
}
|
||||
}, [correntObjectNo])
|
||||
}, [])
|
||||
|
||||
const modalProps = {
|
||||
menuNumber,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user