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 4, 2020
1 parent 303e827 commit 5916692
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 5916692

Please sign in to comment.