Skip to content

Commit

Permalink
Fix async mode condition
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jan 7, 2019
1 parent 5b0ce6a commit 0acd916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/block-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class BlockList extends Component {
key={ 'block-' + clientId }
value={
selectedBlockClientId !== clientId &&
( selectedBlockClientId || ! multiSelectedBlockClientIds.includes( clientId ) )
( !! selectedBlockClientId || multiSelectedBlockClientIds.indexOf( clientId ) === -1 )
}
>
<BlockListBlock
Expand Down

0 comments on commit 0acd916

Please sign in to comment.