Skip to content

Commit

Permalink
fix: 새 모임 생성시 해당 모임으로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrevile committed Aug 27, 2024
1 parent 48b6144 commit 7ff53a8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export const useSetCurrentMeeting = () => {
}
}
};
useEffect(() => {
if (currentMeeting) {
setCurrentMeeting(null);
}
}, []);

useEffect(() => {
if (!currentMeeting) {
Expand Down

0 comments on commit 7ff53a8

Please sign in to comment.