fix input onChange for Toggle

main
Mike Fix 5 years ago
parent b39f938550
commit 71bcb254e9
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -17,7 +17,7 @@ class Toggle extends React.PureComponent {
<input
type="checkbox"
checked={this.props.enabled}
onClick={this.toggle}
onChange={this.toggle}
aria-checked={this.props.enabled}
/>
{this.props.enabled ? <Checkmark /> : <div className="checkmark-disabled" />}

Loading…
Cancel
Save