- updated https url;

This commit is contained in:
Vitalii Kiiko
2024-10-08 17:13:18 +02:00
parent 3001a97568
commit fa29164fed
10 changed files with 467 additions and 147 deletions

View File

@@ -106,15 +106,15 @@ const Registration = () => {
}
const disableAllChecks = () => {
setValue('marketing1', false);
setValue('marketing2', false);
setValue('marketing3', false);
setValue('marketing', false);
setValue('offers', false);
setValue('thirdparty', false);
}
const enableAllChecks = () => {
setValue('marketing1', true);
setValue('marketing2', true);
setValue('marketing3', true);
setValue('marketing', true);
setValue('offers', true);
setValue('thirdparty', true);
}
useEffect(() => {
@@ -320,11 +320,11 @@ const Registration = () => {
<div className={classNames(['appForm__row', 'reverseSwitchField'])}>
<FormField
type="switch"
fieldName="thirdparty"
fieldName="thirdParty"
label={''}
control={control}
errors={errors}
defaultValue={values['thirdparty']}
defaultValue={values['thirdParty']}
onLabel={''}
offLabel={''}
/>