발전시뮬레이션 탭 이동 메뉴넘버 셋팅 삭제

This commit is contained in:
LEEYONGJAE 2025-02-18 15:42:57 +09:00
parent 808f497f43
commit 1b54c06217

View File

@ -12,11 +12,10 @@ import { pwrGnrSimTypeState } from '@/store/simulatorAtom'
import { useAxios } from '@/hooks/useAxios'
import { useMessage } from '@/hooks/useMessage'
import { useCanvasMenu } from '@/hooks/common/useCanvasMenu'
import { convertNumberToPriceDecimal } from '@/util/common-utils'
import { usePlan } from '@/hooks/usePlan'
import { usePopup, closeAll } from '@/hooks/usePopup'
import { usePopup } from '@/hooks/usePopup'
import { QcastContext } from '@/app/QcastProvider'
@ -31,7 +30,6 @@ export default function Simulator() {
const chartRef = useRef(null)
//
const { setMenuNumber } = useCanvasMenu()
const { closeAll } = usePopup()
const { get } = useAxios()
@ -120,7 +118,6 @@ export default function Simulator() {
fetchSimulatorNotice()
setPwrGnrSimType('D')
setPwrRecoil({ ...pwrRecoil, type: 'D' })
setMenuNumber(6)
closeAll()
}
}, [objectNo, pid, selectedPlan])