Skip to content

Commit

Permalink
Simplify return statement because we know it'll always be a boolean
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Anderson <[email protected]>
  • Loading branch information
andrewserong and noisysocks authored Feb 4, 2024
1 parent 8fd632b commit d8a3894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/store/private-selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,5 @@ export function getBlockBindingsSource( state, sourceName ) {
* @return {boolean} Whether user is dragging.
*/
export function isDragging( state ) {
return !! state.isDragging;
return state.isDragging;
}

0 comments on commit d8a3894

Please sign in to comment.