Skip to content

Commit 85e385a

Browse files
committed
feat: 로그아웃 시 공용 워크스페이스로 이동
1 parent 7462b9e commit 85e385a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/frontend/src/features/auth/model/authMutations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const useLogout = () => {
1010
onSuccess: async () => {
1111
queryClient.setQueryData(["user"], null);
1212
await queryClient.invalidateQueries({ queryKey: ["user"] });
13+
window.location.replace("/");
1314
},
1415
});
1516

0 commit comments

Comments
 (0)