Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -6,6 +6,7 @@ import GlobalStyles from "../Styles/GlobalStyles"; | ... | @@ -6,6 +6,7 @@ import GlobalStyles from "../Styles/GlobalStyles"; |
6 | import Helmet from "./Helmet"; | 6 | import Helmet from "./Helmet"; |
7 | import Theme from "../Styles/Theme"; | 7 | import Theme from "../Styles/Theme"; |
8 | import Router from "../Routes/Router"; | 8 | import Router from "../Routes/Router"; |
9 | +import { BrowserRouter } from "react-router-dom"; | ||
9 | 10 | ||
10 | const QUERY = gql` | 11 | const QUERY = gql` |
11 | { | 12 | { |
... | @@ -23,7 +24,9 @@ export default () => { | ... | @@ -23,7 +24,9 @@ export default () => { |
23 | <> | 24 | <> |
24 | <GlobalStyles /> | 25 | <GlobalStyles /> |
25 | <Helmet /> | 26 | <Helmet /> |
27 | + <BrowserRouter> | ||
26 | <Router isLoggedIn={isLoggedIn} /> | 28 | <Router isLoggedIn={isLoggedIn} /> |
29 | + </BrowserRouter> | ||
27 | </> | 30 | </> |
28 | </ThemeProvider> | 31 | </ThemeProvider> |
29 | ); | 32 | ); | ... | ... |
-
Please register or login to post a comment