Skip to content

Commit

Permalink
Merge pull request #72 from seokkkkkk/develop
Browse files Browse the repository at this point in the history
fix: 마이페이지 안들어가지는 버그 수정
  • Loading branch information
seokkkkkk authored Aug 11, 2024
2 parents e948457 + c0b0715 commit e9e6c65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/MyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ function MyPage() {
});

useEffect(() => {
if (applyStatus.data === 2) {
setIsCanary(true);
if (!isLoading) {
if (applyStatus.data === 2) {
setIsCanary(true);
}
}
}, [applyStatus]);

Expand Down

0 comments on commit e9e6c65

Please sign in to comment.