score:0

do you need to pass the id as a param? perhaps you can set the route to simply "/sites/sitedashboard" and pass the id this way:

<route
  exact
  path="/sites/sitedashboard"
  render={props => (
    <sitedashboard
      {...props}
      id={id}
    />
  )}
/>

Related Query

More Query from same tag