Clean up container/component relationship
This commit is contained in:
parent
8b0a53b375
commit
993d29242e
22 changed files with 384 additions and 372 deletions
7
client/src/js/containers/Navicon.js
Normal file
7
client/src/js/containers/Navicon.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { connect } from 'react-redux';
|
||||
import Navicon from '../components/Navicon';
|
||||
import { toggleMenu } from '../state/ui';
|
||||
|
||||
const mapDispatch = { toggleMenu };
|
||||
|
||||
export default connect(null, mapDispatch)(Navicon);
|
Loading…
Add table
Add a link
Reference in a new issue