Fix navicon

This commit is contained in:
Ken-Håvard Lieng 2017-05-29 03:02:39 +02:00
parent a084e6d0af
commit fa9c5a9c16
4 changed files with 42 additions and 45 deletions

View file

@ -1,4 +1,3 @@
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import App from '../components/App';
@ -17,13 +16,6 @@ const mapState = createStructuredSelector({
tab: getSelectedTab
});
const mapDispatch = (dispatch, props) => ({
onClick: () => {
if (props.showTabList) {
dispatch(hideMenu());
}
},
...bindActionCreators({ push, select }, dispatch)
});
const mapDispatch = { push, select, hideMenu };
export default connect(mapState, mapDispatch)(App);