Fix radio input onChange event
[MAILPOET-2677]
This commit is contained in:
committed by
Veljko V
parent
88b12dc1cc
commit
15c34c9937
@ -25,7 +25,7 @@ export default function NewSubscriberNotifications() {
|
||||
type="radio"
|
||||
checked={enabled === '1'}
|
||||
value="1"
|
||||
onClick={() => setEnabled('1')}
|
||||
onChange={onChange(setEnabled)}
|
||||
/>
|
||||
{t('yes')}
|
||||
{' '}
|
||||
@ -33,7 +33,7 @@ export default function NewSubscriberNotifications() {
|
||||
type="radio"
|
||||
checked={enabled === ''}
|
||||
value=""
|
||||
onClick={() => setEnabled('')}
|
||||
onChange={onChange(setEnabled)}
|
||||
/>
|
||||
{t('no')}
|
||||
<br />
|
||||
|
Reference in New Issue
Block a user