diff --git a/src/components/LayoutPortal.jsx b/src/components/LayoutPortal.jsx index ce89995..d6cc868 100644 --- a/src/components/LayoutPortal.jsx +++ b/src/components/LayoutPortal.jsx @@ -3,14 +3,18 @@ import PageHeader from './PageHeader' const {Content} = Layout -export default function LayoutPortal({title, children}) { +export default function LayoutPortal({title, noSheet, children}) { + const content = noSheet + ? {children} + : + + {children} + + + return ( - - - {children} - - + {content} ) } \ No newline at end of file diff --git a/src/pages/Main.jsx b/src/pages/Main.jsx index 28210d4..4fbbac8 100644 --- a/src/pages/Main.jsx +++ b/src/pages/Main.jsx @@ -14,7 +14,7 @@ export default function Main() { - +