From 8cdb6f246638cf83b5ccc54a4e89bd7879d9c314 Mon Sep 17 00:00:00 2001 From: vladjsp Date: Sat, 30 Sep 2023 04:24:34 +0300 Subject: [PATCH] bt-879: * fix defult values for name and phone --- .../components/contacts-cv-step/contacts-cv-step.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/bundles/talent-onboarding/components/contacts-cv-step/contacts-cv-step.tsx b/frontend/src/bundles/talent-onboarding/components/contacts-cv-step/contacts-cv-step.tsx index 8d6af55d7..60670b9ed 100644 --- a/frontend/src/bundles/talent-onboarding/components/contacts-cv-step/contacts-cv-step.tsx +++ b/frontend/src/bundles/talent-onboarding/components/contacts-cv-step/contacts-cv-step.tsx @@ -72,8 +72,8 @@ const ContactsCVStep: React.FC = () => { clearErrors, } = useAppForm({ defaultValues: useMemo(() => { - const fullNameValue = fullName ?? lmsData?.talent.fullName; - const phoneValue = phone ?? lmsData?.talent.phoneNumber; + const fullNameValue = fullName || lmsData?.talent.fullName; + const phoneValue = phone || lmsData?.talent.phoneNumber; return { fullName: fullNameValue,