diff --git a/src/components/ChattingPage/ChatInput.tsx b/src/components/ChattingPage/ChatInput.tsx index 70c6130..9e6003e 100644 --- a/src/components/ChattingPage/ChatInput.tsx +++ b/src/components/ChattingPage/ChatInput.tsx @@ -6,14 +6,12 @@ interface ChatInputProps { value: string; onChange: Dispatch>; onSubmit: () => void; - onFocus: () => void; - onBlur: () => void; } -const ChatInput = ({ value, onChange, onSubmit, onFocus, onBlur }: ChatInputProps) => { +const ChatInput = ({ value, onChange, onSubmit }: ChatInputProps) => { return (
{ e.preventDefault(); onSubmit(); @@ -29,8 +27,6 @@ const ChatInput = ({ value, onChange, onSubmit, onFocus, onBlur }: ChatInputProp className="w-full font-[pretendard] h-[36px] bg-[#F1F1F1] rounded-[20px] px-3 py-2.5" value={value} onChange={e => onChange(e.target.value)} - onFocus={onFocus} - onBlur={onBlur} />