From 651d552881ea826cc19370a1c5af1db1e5663577 Mon Sep 17 00:00:00 2001 From: mirovladimitrovski Date: Wed, 7 Jun 2023 13:40:40 +0200 Subject: [PATCH] fix: removed redundant conversion to string --- src/components/Account/Account.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Account/Account.tsx b/src/components/Account/Account.tsx index e6078d8b6..e266fef35 100644 --- a/src/components/Account/Account.tsx +++ b/src/components/Account/Account.tsx @@ -292,7 +292,7 @@ const Account = ({ panelClassName, panelHeaderClassName, canUpdateEmail = true } options={consent.options} label={formatConsentLabel(consent.label)} placeholder={consent.placeholder} - value={`${section.values.consentsValues[consent.name] || ''}`} + value={section.values.consentsValues[consent.name]} disabled={consent.required || section.isBusy} onChange={section.onChange} />