Fixing eslint
This commit is contained in:
parent
09a9575dd0
commit
d880595f77
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class CheckboxElement extends React.PureComponent<Props, State> {
|
||||||
id={`checkbox-${block.id}`}
|
id={`checkbox-${block.id}`}
|
||||||
disabled={readonly}
|
disabled={readonly}
|
||||||
checked={this.state.active}
|
checked={this.state.active}
|
||||||
onChange={(e) => {
|
onChange={() => {
|
||||||
const newBlock = new MutableCheckboxBlock(block)
|
const newBlock = new MutableCheckboxBlock(block)
|
||||||
if (newBlock.fields) {
|
if (newBlock.fields) {
|
||||||
newBlock.fields.value = !this.state.active
|
newBlock.fields.value = !this.state.active
|
||||||
|
|
Loading…
Reference in a new issue