Skip to content

Commit

Permalink
Further selector fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomes committed Nov 29, 2018
1 parent 7c9b217 commit 3fbd342
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ export const getBlock = createSelector(
state.editor.present.blocks.byClientId[ clientId ],
state.editor.present.blocks.attributes[ clientId ],
getBlockDependantsCacheBust( state, clientId ),
state.editor.present.blocks.order[ clientId ],
state.editor.present.edits.meta,
state.initialEdits.meta,
state.currentPost.meta,
Expand Down Expand Up @@ -699,9 +698,7 @@ export const getBlocks = createSelector(
state.editor.present.blocks,
];
}
return [
getBlock.getDependants( state, rootClientId ),
];
return getBlock.getDependants( state, rootClientId );
}
);

Expand Down

0 comments on commit 3fbd342

Please sign in to comment.