Fixing eslint

This commit is contained in:
Jesús Espino 2021-03-21 09:04:30 +01:00
parent 09a9575dd0
commit d880595f77

View file

@ -39,7 +39,7 @@ class CheckboxElement extends React.PureComponent<Props, State> {
id={`checkbox-${block.id}`}
disabled={readonly}
checked={this.state.active}
onChange={(e) => {
onChange={() => {
const newBlock = new MutableCheckboxBlock(block)
if (newBlock.fields) {
newBlock.fields.value = !this.state.active