Skip to content

Commit

Permalink
fix: removed redundant conversion to string
Browse files Browse the repository at this point in the history
  • Loading branch information
mirovladimitrovski committed Jun 7, 2023
1 parent 4aa35f5 commit 651d552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Account/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
Expand Down

0 comments on commit 651d552

Please sign in to comment.