Skip to content

Commit

Permalink
Remove unnecessary dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Aug 10, 2020
1 parent e3aae39 commit 8981e82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/edit-post/src/components/options-modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ export default compose(
withDispatch( ( dispatch ) => {
return {
closeModal: () => dispatch( 'core/edit-post' ).closeModal(),
toggleIconLabels: () =>
dispatch( 'core/edit-post' ).toggleFeature( 'showIconLabels' ),
};
} )
)( OptionsModal );

0 comments on commit 8981e82

Please sign in to comment.