diff --git a/src/components/client/auth/register/CorporateRegisterForm.tsx b/src/components/client/auth/register/CorporateRegisterForm.tsx index bc7315fcd..c3e6bf699 100644 --- a/src/components/client/auth/register/CorporateRegisterForm.tsx +++ b/src/components/client/auth/register/CorporateRegisterForm.tsx @@ -118,7 +118,7 @@ export default function CorporateRegisterForm({ onSubmit, loading }: RegisterFor - + diff --git a/src/components/client/auth/register/RegisterForm.tsx b/src/components/client/auth/register/RegisterForm.tsx index 11d39b38d..9aaa66672 100644 --- a/src/components/client/auth/register/RegisterForm.tsx +++ b/src/components/client/auth/register/RegisterForm.tsx @@ -88,7 +88,7 @@ export default function RegisterForm({ onSubmit, loading }: RegisterFormProps) { - + @@ -96,4 +96,4 @@ export default function RegisterForm({ onSubmit, loading }: RegisterFormProps) { ) -} \ No newline at end of file +} diff --git a/src/components/common/form/HelpUsImproveField.tsx b/src/components/common/form/HelpUsImproveField.tsx index 47d6b143b..9852f50e3 100644 --- a/src/components/common/form/HelpUsImproveField.tsx +++ b/src/components/common/form/HelpUsImproveField.tsx @@ -12,11 +12,7 @@ export default function HelpUsImproveField({ name }: HelpUsImproveFieldProps) { return ( - {t('validation:help-us-improve')}{' '} - - } + label={{t('validation:help-us-improve')} } /> ) -} \ No newline at end of file +} diff --git a/src/gql/user-registration.ts b/src/gql/user-registration.ts index 0d31a3415..1843937ce 100644 --- a/src/gql/user-registration.ts +++ b/src/gql/user-registration.ts @@ -12,11 +12,11 @@ export type IndividualRegisterFormData = { confirmPassword: string terms: boolean gdpr: boolean - newsletter?: boolean, - helpUsImprove?: boolean, + newsletter?: boolean + helpUsImprove?: boolean } export type CorporateRegisterFormData = IndividualRegisterFormData & { companyName: string companyNumber: string -} \ No newline at end of file +}