From 3fbd3429425cdbba8dc48ba5d39af68f065251be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gomes?= Date: Thu, 29 Nov 2018 12:18:01 +0000 Subject: [PATCH] Further selector fixes after review --- packages/editor/src/store/selectors.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/editor/src/store/selectors.js b/packages/editor/src/store/selectors.js index 2bd9da3938128b..509e84e87567fa 100644 --- a/packages/editor/src/store/selectors.js +++ b/packages/editor/src/store/selectors.js @@ -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, @@ -699,9 +698,7 @@ export const getBlocks = createSelector( state.editor.present.blocks, ]; } - return [ - getBlock.getDependants( state, rootClientId ), - ]; + return getBlock.getDependants( state, rootClientId ); } );