diff options
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r-- | vnext/src/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js index 5f45ecc2..6cbb3c44 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -1,5 +1,6 @@ import React, { lazy, Suspense } from 'react'; import ReactDOM from 'react-dom'; +import { BrowserRouter } from 'react-router-dom'; import './index.css'; @@ -16,7 +17,9 @@ const Juick = lazy(() => import('./App')); const JuickApp = () => ( <React.StrictMode> <Suspense fallback={LoadingView()}> - <Juick /> + <BrowserRouter> + <Juick /> + </BrowserRouter> </Suspense> </React.StrictMode> ); |