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:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
69b8e330ebc1561790f1fb4b759b000c4cbf9a8c
69b8e330
1 parent
1f959cf9
remove withRouter
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
front/src/Components/Home.js
front/src/Components/Home.js
View file @
69b8e33
...
...
@@ -3,7 +3,6 @@ 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%;
...
...
@@ -12,7 +11,7 @@ const HomeContainer = styled.div`
overflow: hidden;
`
;
export
default
withRouter
(({
match
,
history
,
location
}
)
=>
{
export
default
(
)
=>
{
return
(
<>
<
Helmet
>
...
...
@@ -24,4 +23,4 @@ export default withRouter(({ match, history, location }) => {
<
/HomeContainer
>
<
/
>
);
}
)
;
};
...
...
Please
register
or
login
to post a comment