sdy

update Home.js

......@@ -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>
</>
);
};
});
......