From d7f4f2b8ebf70459ca373cc50b5eee7720e99061 Mon Sep 17 00:00:00 2001 From: nafees nazik Date: Mon, 4 Sep 2023 22:24:42 +0530 Subject: [PATCH] fix: value --- apps/web/src/components/forms/profile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/forms/profile.tsx b/apps/web/src/components/forms/profile.tsx index e018ef60b..8255742c9 100644 --- a/apps/web/src/components/forms/profile.tsx +++ b/apps/web/src/components/forms/profile.tsx @@ -44,7 +44,7 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => { } = useForm({ values: { name: user.name ?? '', - signature: user.signature ? user.signature : '', + signature: user.signature || '', }, resolver: zodResolver(ZProfileFormSchema), });