redux connect not passing function code example Example: redux import connect import { connect } from 'react-redux'