From 81756ca1206ecd8908c8aca0a74b9fdd65094c05 Mon Sep 17 00:00:00 2001 From: kikiyeom Date: Thu, 15 Feb 2024 20:13:42 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20ref=EB=A1=9C=20=EC=9D=B8=ED=95=9C=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=EB=A5=BC=20=EC=88=98=EC=A0=95=ED=95=98?= =?UTF-8?q?=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ApplicationPanel/ApplicationPanel.component.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ApplicationDetail/ApplicationPanel/ApplicationPanel.component.tsx b/src/components/ApplicationDetail/ApplicationPanel/ApplicationPanel.component.tsx index facb0dec..7a5c4cc2 100644 --- a/src/components/ApplicationDetail/ApplicationPanel/ApplicationPanel.component.tsx +++ b/src/components/ApplicationDetail/ApplicationPanel/ApplicationPanel.component.tsx @@ -83,6 +83,7 @@ const ControlArea = ({ const [isDatePickerOpened, setIsDatePickerOpened] = useState(false); const outerRef = useRef(null); const selectedApplicationResultStatusRef = useRef(null); + const selectedInterviewStartedAtRef = useRef(null); const handleSelectDate = useCallback( (clickedDate: Dayjs) => { @@ -194,6 +195,7 @@ const ControlArea = ({ disabled={isInterviewConfirmed} defaultValue={timeOptions.find((option) => option.value === dayjs(date).format())} {...register(`interviewStartedAt`, { required: true })} + ref={selectedInterviewStartedAtRef} />