React-Router – Uncaught TypeError: Cannot read property ‘getCurrentLocation’ of undefined July 20, 2023 by Tarik You are not passing a history to your <Router>. Check out the histories documentation for more information.