diff --git a/src/components/LayoutPortal.jsx b/src/components/LayoutPortal.jsx
index d6cc868..2fa6886 100644
--- a/src/components/LayoutPortal.jsx
+++ b/src/components/LayoutPortal.jsx
@@ -1,20 +1,13 @@
import {Layout} from 'antd'
import PageHeader from './PageHeader'
-const {Content} = Layout
-
-export default function LayoutPortal({title, noSheet, children}) {
- const content = noSheet
- ? {children}
- :
-
- {children}
-
-
-
- return (
-
-
- {content}
- )
-}
\ No newline at end of file
+export const LayoutPortal = ({title, noSheet, ...props}) => (
+
+
+
+ {noSheet ? props.children : (
+
+ )}
+
+
+)
diff --git a/src/pages/Main.jsx b/src/pages/Main.jsx
index e4edbe8..3d58707 100644
--- a/src/pages/Main.jsx
+++ b/src/pages/Main.jsx
@@ -2,7 +2,7 @@ import { Redirect, Route, Switch } from "react-router-dom";
import Deposit from "./Deposit";
import Cluster from "./Cluster";
import Well from "./Well";
-import LayoutPortal from "../components/LayoutPortal";
+import {LayoutPortal} from "../components/LayoutPortal";
export default function Main() {
return (