I my app.js I have defined a route as:
<PrivateRoute exact={true} path="/servicePanel" component={ServicePanel} /> and in my ServicePanel.js I have a link as:
<Link to={`${this.props.match.url}/fileManagerDashboard`}> <i className="glyphicon glyphicon-cog"></i> File Manager </Link> <Switch> <PrivateRoute path={`${this.props.match.path}/fileManagerDashboard`} component={Dashboard} /> </Switch> but the issue is that this /servicePanel/fileManagerDashboard path is not found when I set the prop `exact={true} in aboue path
<PrivateRoute exact={true} path="/servicePanel" component={ServicePanel} /> and when I don't set exact={true} in the above path, /servicePanel/fileManagerDashboard renders both /servicePanel path component and below it /fileManagerDashboard path component on the same page