From 618e796d0d727b95497da617edc0a516dfaf06dd Mon Sep 17 00:00:00 2001 From: Choi JunHo Date: Fri, 2 Aug 2024 16:31:08 +0900 Subject: [PATCH] Refactor: Chat-form css --- src/ui/components/molecule/user/chat-form/chat-form.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ui/components/molecule/user/chat-form/chat-form.tsx b/src/ui/components/molecule/user/chat-form/chat-form.tsx index 5569adf..cb5f1fd 100644 --- a/src/ui/components/molecule/user/chat-form/chat-form.tsx +++ b/src/ui/components/molecule/user/chat-form/chat-form.tsx @@ -6,8 +6,8 @@ import { postQuestion } from '../../../../../api/post-question'; import { cn } from '../../../../../utils/style'; interface ChatFormProps { - type: string; - category: string; + type: 'SUSI' | 'PYEONIP' | 'JEONGSI'; + category?: 'PAST_QUESTIONS' | 'INTERVIEW_PRACTICAL_TEST' | 'PASSING_RESULT' | 'ADMISSION_GUIDELINE'; } const ChatForm = ({ type, category }: ChatFormProps) => { @@ -32,10 +32,7 @@ const ChatForm = ({ type, category }: ChatFormProps) => { }; return ( -
+