diff --git a/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx b/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx index 5a65523c..416e2ea6 100644 --- a/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx +++ b/src/components/organisms/ResumeBasicInput/BasicInfoForm.tsx @@ -33,7 +33,11 @@ const BasicInfoForm = ({ formState: { errors }, } = useForm(); - const onSubmit: SubmitHandler = (data) => { + const onSubmit: SubmitHandler = (data, event) => { + if (event?.currentTarget.key === 'Enter') { + event.preventDefault(); + } + const resumeBasicInfo = data; resumeBasicInfo.skills = skills; patchResumeBasicInfo(