React Index.js BrowserRouter
import { BrowserRouter } from 'react-router-dom';
const app = (
<BrowserRouter>
<App />
</BrowserRouter>
);
Panicky Porpoise
import { BrowserRouter } from 'react-router-dom';
const app = (
<BrowserRouter>
<App />
</BrowserRouter>
);