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-18 11:13:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5edd064605e4659c7dd150fa86004df783a6c3f6
5edd0646
1 parent
6d822a95
update Home.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
front/src/Components/Home.js
front/src/Components/Home.js
View file @
5edd064
...
...
@@ -3,6 +3,7 @@ import styled from "styled-components";
import
Menu
from
"../Routes/Menu/MenuContainer"
;
import
HomeMain
from
"./Home/HomeMain"
;
import
{
Helmet
}
from
"react-helmet"
;
import
{
withRouter
}
from
"react-router-dom"
;
const
HomeContainer
=
styled
.
div
`
width: 100%;
...
...
@@ -11,7 +12,7 @@ const HomeContainer = styled.div`
overflow: hidden;
`
;
export
default
(
)
=>
{
export
default
withRouter
(({
match
,
history
,
location
}
)
=>
{
return
(
<>
<
Helmet
>
...
...
@@ -23,4 +24,4 @@ export default () => {
<
/HomeContainer
>
<
/
>
);
};
}
)
;
...
...
Please
register
or
login
to post a comment