diff --git a/src/page/common/applyMyInfoStep/index.tsx b/src/page/common/applyMyInfoStep/index.tsx index 5d00ab2..ae06cef 100644 --- a/src/page/common/applyMyInfoStep/index.tsx +++ b/src/page/common/applyMyInfoStep/index.tsx @@ -24,7 +24,7 @@ const ApplyMyInfoStep = () => { const [isModalOpen, setisModalOpen] = useState(false); const handleDoubleCheckInfo = () => { - if (!isDoubleCheck) { + if (!isDoubleCheck && curPage === 1) { setisModalOpen(true); setTimeout(() => { setisModalOpen(false); diff --git a/src/page/personal/FirstStep/FourthPage.tsx b/src/page/personal/FirstStep/FourthPage.tsx index 8b88cd8..f43c04f 100644 --- a/src/page/personal/FirstStep/FourthPage.tsx +++ b/src/page/personal/FirstStep/FourthPage.tsx @@ -19,7 +19,7 @@ const FourthPage = ({ setIsFinishPage }: StepProps) => { if (isFinishMbtiSelect) { dispatch(setInfoMbti(mbtiValue)); setIsFinishPage(true); - } + } else setIsFinishPage(false); }, [dispatch, mbtiValue, setIsFinishPage]); return ( diff --git a/src/page/personal/FirstStep/index.tsx b/src/page/personal/FirstStep/index.tsx index 6cb7a73..1a030ab 100644 --- a/src/page/personal/FirstStep/index.tsx +++ b/src/page/personal/FirstStep/index.tsx @@ -27,7 +27,7 @@ const PersonalFirstStep = () => { const [isModalOpen, setisModalOpen] = useState(false); const handleDoubleCheckInfo = () => { - if (!isDoubleCheck) { + if (!isDoubleCheck && curPage === 1) { setisModalOpen(true); setTimeout(() => { setisModalOpen(false);