feat: store profile signature

This commit is contained in:
Mythie
2023-09-01 18:43:53 +10:00
parent 901013fdc6
commit 7218b950fe
6 changed files with 13 additions and 11 deletions

View File

@ -118,6 +118,7 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
render={({ field: { onChange } }) => (
<SignaturePad
className="h-44 w-full rounded-lg border bg-white backdrop-blur-sm dark:border-[#e2d7c5] dark:bg-[#fcf8ee]"
defaultValue={user.signature ?? undefined}
onChange={(v) => onChange(v ?? '')}
/>
)}