Closed sbdchd closed 3 years ago
Allow some props so react-router types work.
Using Pick with RouteComponentsProps causes withRouter not to work since withRouter requires the component props extend RouteComponentProps.
withRouter
RouteComponentProps
Otherwise we'd need to refactor the components to not use withRouter.
Allow some props so react-router types work.
Using Pick with RouteComponentsProps causes
withRouter
not to work sincewithRouter
requires the component props extendRouteComponentProps
.Otherwise we'd need to refactor the components to not use
withRouter
.