Showing
1 changed file
with
2 additions
and
3 deletions
... | @@ -3,7 +3,6 @@ import styled from "styled-components"; | ... | @@ -3,7 +3,6 @@ import styled from "styled-components"; |
3 | import Menu from "../Routes/Menu/MenuContainer"; | 3 | import Menu from "../Routes/Menu/MenuContainer"; |
4 | import HomeMain from "./Home/HomeMain"; | 4 | import HomeMain from "./Home/HomeMain"; |
5 | import { Helmet } from "react-helmet"; | 5 | import { Helmet } from "react-helmet"; |
6 | -import { withRouter } from "react-router-dom"; | ||
7 | 6 | ||
8 | const HomeContainer = styled.div` | 7 | const HomeContainer = styled.div` |
9 | width: 100%; | 8 | width: 100%; |
... | @@ -12,7 +11,7 @@ const HomeContainer = styled.div` | ... | @@ -12,7 +11,7 @@ const HomeContainer = styled.div` |
12 | overflow: hidden; | 11 | overflow: hidden; |
13 | `; | 12 | `; |
14 | 13 | ||
15 | -export default withRouter(({ match, history, location }) => { | 14 | +export default () => { |
16 | return ( | 15 | return ( |
17 | <> | 16 | <> |
18 | <Helmet> | 17 | <Helmet> |
... | @@ -24,4 +23,4 @@ export default withRouter(({ match, history, location }) => { | ... | @@ -24,4 +23,4 @@ export default withRouter(({ match, history, location }) => { |
24 | </HomeContainer> | 23 | </HomeContainer> |
25 | </> | 24 | </> |
26 | ); | 25 | ); |
27 | -}); | 26 | +}; | ... | ... |
-
Please register or login to post a comment