aws-cognito-react
Version:
aws-cognito-react primary goal is to provide user management services for a web App in a scalable serverless way.
17 lines (12 loc) • 316 B
JavaScript
import { connect } from 'react-redux'
import AppComponent from './App'
const mapStatetoProps = state => {
return {
isSignedIn: state.auth.isSignedIn,
auth: state.auth
}
}
const mapDispatchToProps = dispatch => {
return {}
}
export default connect(mapStatetoProps, mapDispatchToProps)(AppComponent)