Skip to content

Instantly share code, notes, and snippets.

@mattmontgomery
Created August 22, 2016 22:54
Show Gist options
  • Save mattmontgomery/7dd29a8e603505b5843d19351e8d6bd9 to your computer and use it in GitHub Desktop.
Save mattmontgomery/7dd29a8e603505b5843d19351e8d6bd9 to your computer and use it in GitHub Desktop.
import App from './App';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as AuthActions from 'Actions/AuthActions';
export default connect(
({ app }) => ({
...app
}),
(dispatch) => ({
authActions: bindActionCreators(AuthActions, dispatch),
})
)(App);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment