Skip to content

Commit

Permalink
Media: Align indent of connect function handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Jan 12, 2016
1 parent d6fb02f commit e35c6dd
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions client/post-editor/editor-media-advanced/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ EditorMediaAdvanced.defaultProps = {
toggleVisible: () => {}
};

export default connect( ( state ) => {
return {
visible: state.ui.editor.media.advanced
};
}, ( dispatch ) => {
return bindActionCreators( {
toggleVisible: toggleEditorMediaAdvanced
}, dispatch );
} )( EditorMediaAdvanced );
export default connect(
( state ) => {
return {
visible: state.ui.editor.media.advanced
};
},
( dispatch ) => {
return bindActionCreators( {
toggleVisible: toggleEditorMediaAdvanced
}, dispatch );
}
)( EditorMediaAdvanced );

0 comments on commit e35c6dd

Please sign in to comment.