From a61a33b16ef3038825d1c459b58e92ed943a27aa Mon Sep 17 00:00:00 2001 From: srgooglo Date: Fri, 4 Jul 2025 14:12:53 +0200 Subject: [PATCH] Format --- packages/app/src/layouts/default/index.jsx | 89 ++++++++++++---------- 1 file changed, 47 insertions(+), 42 deletions(-) diff --git a/packages/app/src/layouts/default/index.jsx b/packages/app/src/layouts/default/index.jsx index e8040ec5..7193f3ec 100755 --- a/packages/app/src/layouts/default/index.jsx +++ b/packages/app/src/layouts/default/index.jsx @@ -17,58 +17,63 @@ import TopBar from "@layouts/components/@mobile/topBar" import BackgroundDecorator from "@components/BackgroundDecorator" const DesktopLayout = (props) => { - return <> - - - + return ( + <> + + + - - + + - -
+ +
- { - props.children && React.cloneElement(props.children, props) - } - + {props.children && + React.cloneElement(props.children, props)} + - - + + - - + + + ) } const MobileLayout = (props) => { - return - - + return ( + + + - - { - props.children && React.cloneElement(props.children, props) - } - + + {props.children && React.cloneElement(props.children, props)} + - - + + + ) } export default (props) => { - return window.app.isMobile ? : -} \ No newline at end of file + return window.app.isMobile ? ( + + ) : ( + + ) +}