Skip to content

Commit

Permalink
fix: useExit memberId 못 불러오는 에러 해결 #372
Browse files Browse the repository at this point in the history
  • Loading branch information
novice0840 committed Oct 24, 2024
1 parent e11b555 commit 5cd9019
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 5cd9019

Please sign in to comment.