From c089d321cc1a5b31cd77f26422684d4c33b73b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=86=E1=85=B5=E1=86=AB=E1=84=92?= =?UTF-8?q?=E1=85=B4?= Date: Fri, 1 Dec 2023 15:46:47 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=ED=9D=AC=EB=A7=9D=EC=A7=81=EB=AC=B4?= =?UTF-8?q?=20=ED=82=A4=EB=8B=A4=EC=9A=B4=20=EC=97=94=ED=84=B0=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx b/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx index b728d1b3..34c8ee67 100644 --- a/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx +++ b/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx @@ -79,7 +79,9 @@ const BasicInfoForm = ({ spellCheck="false" defaultValue={position ?? null} onKeyDown={(event: React.KeyboardEvent) => { - event.preventDefault(); + if (event.key === 'Enter') { + event.preventDefault(); + } }} />