Użyj ForcereFresh

<BrowserRouter forceRefresh={true}>    <Link to="/dashboard">Dashboard</Link></BrowserRouter>
Unsightly Unicorn