Skip to content

Commit

Permalink
merge: [FIX] 방 나가기 버그 수정
Browse files Browse the repository at this point in the history
[FIX] 방 나가기 버그 수정
  • Loading branch information
novice0840 authored Oct 24, 2024
2 parents e11b555 + 5cd9019 commit 2598b06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/layout/Header/hooks/useExit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import useGetUserInfo from '@/hooks/useGetUserInfo';
import { deleteAllCookies } from '@/utils/cookie';

export const useExit = () => {
const { member: memberId } = useGetUserInfo();
const {
member: { memberId },
} = useGetUserInfo();
const navigate = useNavigate();
const { roomId } = useParams();

Expand Down

0 comments on commit 2598b06

Please sign in to comment.