Skip to content

Commit

Permalink
Ensure hasSelection is a boolean
Browse files Browse the repository at this point in the history
Co-Authored-By: Grzegorz (Greg) Ziółkowski <[email protected]>
  • Loading branch information
youknowriad and gziolo committed Oct 24, 2019
1 parent fe0ef33 commit afdda38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const BlockBreadcrumb = function() {
return {
parents: getBlockParents( selectedBlockClientId ),
clientId: selectedBlockClientId,
hasSelection: getSelectionStart().clientId,
hasSelection: !! getSelectionStart().clientId,
};
}, [] );

Expand Down

0 comments on commit afdda38

Please sign in to comment.