Skip to content

Commit

Permalink
fix: bug fix (#139)
Browse files Browse the repository at this point in the history
* feat: ์ฒซ๋ฒˆ์งธ ํŽ˜์ด์ง€์—์„œ๋งŒ ์ค‘๋ณต ํ™•์ธ ์—๋Ÿฌ๋ฌธ๊ตฌ ๋œจ๋„๋ก ๋ณ€๊ฒฝ

* feat: mbti ์™„๋ฃŒ state ์ดˆ๊ธฐํ™”
  • Loading branch information
eunbae0 authored May 31, 2023
1 parent 6bfdbd0 commit 49f4f2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/page/common/applyMyInfoStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ApplyMyInfoStep = () => {
const [isModalOpen, setisModalOpen] = useState(false);

const handleDoubleCheckInfo = () => {
if (!isDoubleCheck) {
if (!isDoubleCheck && curPage === 1) {
setisModalOpen(true);
setTimeout(() => {
setisModalOpen(false);
Expand Down
2 changes: 1 addition & 1 deletion src/page/personal/FirstStep/FourthPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const FourthPage = ({ setIsFinishPage }: StepProps) => {
if (isFinishMbtiSelect) {
dispatch(setInfoMbti(mbtiValue));
setIsFinishPage(true);
}
} else setIsFinishPage(false);
}, [dispatch, mbtiValue, setIsFinishPage]);

return (
Expand Down
2 changes: 1 addition & 1 deletion src/page/personal/FirstStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PersonalFirstStep = () => {
const [isModalOpen, setisModalOpen] = useState(false);

const handleDoubleCheckInfo = () => {
if (!isDoubleCheck) {
if (!isDoubleCheck && curPage === 1) {
setisModalOpen(true);
setTimeout(() => {
setisModalOpen(false);
Expand Down

0 comments on commit 49f4f2c

Please sign in to comment.