From 07580b464089f46482e3e72ceafafc7090e1fa8b Mon Sep 17 00:00:00 2001 From: nafees nazik Date: Sat, 2 Sep 2023 12:11:07 +0530 Subject: [PATCH] fix: user name not updatable --- 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 aaab1e9ae..e018ef60b 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: '', + signature: user.signature ? user.signature : '', }, resolver: zodResolver(ZProfileFormSchema), });