score:1

Accepted answer
import { Link, NavLink, withRouter } from 'react-router-dom';

export default withRouter(
  connect((state)=>{
    return { drawerOpen: state.mainContainerDrawerOpen }
  })(ZWrapperDrawer)
);

Related Query

More Query from same tag