Skip to content

Commit

Permalink
State: Avoid parameters in state selectors getDependants (#4939)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Feb 8, 2018
1 parent 13b181b commit 61cf994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ export const getBlock = createSelector(
innerBlocks: getBlocks( state, uid ),
};
},
( state, uid ) => [
get( state, [ 'editor', 'present', 'blocksByUid', uid ] ),
( state ) => [
get( state, [ 'editor', 'present', 'blocksByUid' ] ),
get( state, [ 'editor', 'present', 'edits', 'meta' ] ),
get( state, 'currentPost.meta' ),
]
Expand Down

0 comments on commit 61cf994

Please sign in to comment.