From b4f93793c8e36d6883e1365a4517e5542f000842 Mon Sep 17 00:00:00 2001 From: Roy Schut Date: Fri, 6 Aug 2021 15:39:08 +0200 Subject: [PATCH] fix(auth): fix console error controlled checkbox --- src/components/Account/Account.tsx | 2 +- src/components/Dropdown/Dropdown.tsx | 11 +---------- src/components/RegistrationForm/RegistrationForm.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/components/Account/Account.tsx b/src/components/Account/Account.tsx index b8d3718dc..c37946929 100644 --- a/src/components/Account/Account.tsx +++ b/src/components/Account/Account.tsx @@ -215,7 +215,7 @@ const Account = ({ (handleChange ? handleChange(event, { nestInto: 'consents' }) : null)} label={formatConsentLabel(consent.label)} diff --git a/src/components/Dropdown/Dropdown.tsx b/src/components/Dropdown/Dropdown.tsx index e4fdddd15..36f90b891 100644 --- a/src/components/Dropdown/Dropdown.tsx +++ b/src/components/Dropdown/Dropdown.tsx @@ -52,16 +52,7 @@ const Dropdown: React.FC = ({ )}
- {defaultLabel && (