Skip to content

Commit

Permalink
Remove unnecessary getState variable
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Mar 9, 2018
1 parent 08333d3 commit 4e1026f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/store/effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ export default {
}

const { id } = action;
const { getState, dispatch } = store;
const state = getState();
const { dispatch } = store;
const state = store.getState();

const { uid, title, isTemporary } = getReusableBlock( state, id );
const { name, attributes, innerBlocks } = getBlock( state, uid );
Expand Down

0 comments on commit 4e1026f

Please sign in to comment.