diff --git a/src/api/types/question.ts b/src/api/types/question.ts index 7ae4575..788d8b1 100644 --- a/src/api/types/question.ts +++ b/src/api/types/question.ts @@ -12,6 +12,10 @@ interface QuestionGet { content: string; branchName: string; createdDate: string; + answer: { + privatePostAnswerId: number; + content: string; + }; } interface QuestionGetResponse { diff --git a/src/components/modal/logoutModal/index.tsx b/src/components/modal/logoutModal/index.tsx index 1f05fa2..5405252 100644 --- a/src/components/modal/logoutModal/index.tsx +++ b/src/components/modal/logoutModal/index.tsx @@ -1,4 +1,5 @@ // components/LogoutModal.tsx +import { useSetMember } from '@/store/user'; import React from 'react'; interface LogoutModalProps { @@ -7,6 +8,7 @@ interface LogoutModalProps { } const LogoutModal = ({ onConfirm, onCancel }: LogoutModalProps) => { + const setmember = useSetMember(); return (