From e7a8db7afdcec8a70ac2c7474aef347c30661153 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Fri, 14 Feb 2025 14:37:24 +0300 Subject: [PATCH] fix encryption form values --- client/src/components/Settings/Encryption/Form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Settings/Encryption/Form.tsx b/client/src/components/Settings/Encryption/Form.tsx index be03433d..a222a8e9 100644 --- a/client/src/components/Settings/Encryption/Form.tsx +++ b/client/src/components/Settings/Encryption/Form.tsx @@ -152,8 +152,8 @@ export const Form = ({ formState: { isSubmitting, isValid }, } = useForm({ defaultValues: { - ...initialValues, ...defaultValues, + ...initialValues, }, mode: 'onBlur', });