From 9a0e1fae9da20a70f0a0b510bea5009fbc1d2df4 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Wed, 16 Oct 2024 10:48:43 +0200 Subject: [PATCH] fix: new password not required for edit profile --- components/Forms/Edit/Profile/FormContent/index.tsx | 4 ++-- components/Forms/Edit/Profile/schema.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Forms/Edit/Profile/FormContent/index.tsx b/components/Forms/Edit/Profile/FormContent/index.tsx index a4c86f225..3792cc85d 100644 --- a/components/Forms/Edit/Profile/FormContent/index.tsx +++ b/components/Forms/Edit/Profile/FormContent/index.tsx @@ -24,7 +24,7 @@ export default function FormContent() { const email = `${intl.formatMessage({ id: "Email" })} ${intl.formatMessage({ id: "Address" }).toLowerCase()}` const street = intl.formatMessage({ id: "Address" }) const phoneNumber = intl.formatMessage({ id: "Phone number" }) - const password = intl.formatMessage({ id: "Current password" }) + const currentPassword = intl.formatMessage({ id: "Current password" }) const retypeNewPassword = intl.formatMessage({ id: "Retype new password" }) const zipCode = intl.formatMessage({ id: "Zip code" }) @@ -72,7 +72,7 @@ export default function FormContent() { {intl.formatMessage({ id: "Password" })} - + {