Skip to content

Commit

Permalink
Merge pull request #30 from KPMP/KPMP-3293_Blank_Page
Browse files Browse the repository at this point in the history
KPMP-3293: User browserrouter instead
  • Loading branch information
abarkellumich authored Dec 6, 2021
2 parents 30e24c4 + 4d20961 commit c5488f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Provider } from 'react-redux';
import thunk from 'redux-thunk';
import ReactGA from 'react-ga';
import { createBrowserHistory } from 'history';
import { Route, Switch, Router } from 'react-router-dom';
import { Route, Switch, BrowserRouter } from 'react-router-dom';
import ErrorBoundaryContainer from './components/Error/ErrorBoundaryContainer';
import Oops from './components/Error/Oops';
import PackageDashboardPageContainer from './components/PackageDashboard/PackageDashboardPageContainer';
Expand Down Expand Up @@ -60,7 +60,7 @@ class App extends Component {
render() {
return (
<Provider store={store}>
<Router history={history}>
<BrowserRouter history={history}>
<ErrorBoundaryContainer>
<NavBar />
<Switch>
Expand All @@ -72,7 +72,7 @@ class App extends Component {
</Switch>
<NavFooter />
</ErrorBoundaryContainer>
</Router>
</BrowserRouter>
</Provider>
);
}
Expand Down

0 comments on commit c5488f8

Please sign in to comment.