diff --git a/frontend/src/components/layout/Header/hooks/useExit.ts b/frontend/src/components/layout/Header/hooks/useExit.ts index 36d7fe1f..c617c619 100644 --- a/frontend/src/components/layout/Header/hooks/useExit.ts +++ b/frontend/src/components/layout/Header/hooks/useExit.ts @@ -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();