Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-22 14:45:46 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9594c3adb0883786dbe2a2b94cfe27aab3b36d8d
9594c3ad
1 parent
69b8e330
add BrowserRouter
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
front/src/Components/App.js
front/src/Components/App.js
View file @
9594c3a
...
...
@@ -6,6 +6,7 @@ import GlobalStyles from "../Styles/GlobalStyles";
import
Helmet
from
"./Helmet"
;
import
Theme
from
"../Styles/Theme"
;
import
Router
from
"../Routes/Router"
;
import
{
BrowserRouter
}
from
"react-router-dom"
;
const
QUERY
=
gql
`
{
...
...
@@ -23,7 +24,9 @@ export default () => {
<>
<
GlobalStyles
/>
<
Helmet
/>
<
Router
isLoggedIn
=
{
isLoggedIn
}
/
>
<
BrowserRouter
>
<
Router
isLoggedIn
=
{
isLoggedIn
}
/
>
<
/BrowserRouter
>
<
/
>
<
/ThemeProvider
>
);
...
...
Please
register
or
login
to post a comment