Skip to content

Commit

Permalink
Fix indeterminate state and e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Apr 4, 2022
1 parent 262a31b commit b168d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/block-lock/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function BlockLockModal( { clientId, onClose } ) {
/>
</>
}
checked={ lock.edit }
checked={ !! lock.edit }
onChange={ ( edit ) =>
setLock( ( prevLock ) => ( {
...prevLock,
Expand Down

0 comments on commit b168d03

Please sign in to comment.