Closed iannotian closed 5 years ago
Should not use LinkButton custom component. React Router v4 supplies a withRouter method to supply the Create Chat button with a route to point to.
See: https://stackoverflow.com/questions/31079081/programmatically-navigate-using-react-router
Did not end up requiring withRouter; used props.history.push(PATH) as supplied by React Router.
Should not use LinkButton custom component. React Router v4 supplies a withRouter method to supply the Create Chat button with a route to point to.
See: https://stackoverflow.com/questions/31079081/programmatically-navigate-using-react-router