- updated https url;
This commit is contained in:
@@ -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={''}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user