how assign connect to component in react code example
Example 1: redux import connect
import { connect } from 'react-redux'
Example 2: redux connect
//Connects your component to Redux-store
export default connect(mapState, mapDispatch)(Component)