sdy

remove withRouter

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