Skip to content

Commit

Permalink
fix: 버그 수정7
Browse files Browse the repository at this point in the history
  • Loading branch information
abcxj123 committed Jun 11, 2024
1 parent 0e9fbdb commit 928bbb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/mission5/RoadMap5.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ export const RoadMap5 = () => {
});

useEffect(() => {
if (!isSuccess0 && userInfo?.step === 5 && userInfo.stepStatus === 2) {
if (
!isSuccess0 &&
userInfo?.step === 5 &&
(userInfo.stepStatus === 1 || userInfo.stepStatus === 2)
) {
setShowStepModal(true);
}
}, [userInfo]);
Expand Down

0 comments on commit 928bbb4

Please sign in to comment.