diff --git a/src/components/Common/Layout.jsx b/src/components/Common/Layout.jsx index fb7aa94..34e46ee 100644 --- a/src/components/Common/Layout.jsx +++ b/src/components/Common/Layout.jsx @@ -4,12 +4,12 @@ import Header from "./Header"; import Footer from "./Footer"; import { LayoutContainer, MainContent } from "./Layout.styled"; -const Layout = ({ children }) => { +const Layout = ({ children, noneHeader }) => { return ( <> -
+ {!noneHeader &&
} {children}