From 90b126db68d74b7de0f27154066011c35546975c Mon Sep 17 00:00:00 2001 From: srgooglo Date: Wed, 7 Sep 2022 15:17:53 +0200 Subject: [PATCH] moved `backgroundDecorator` to layout --- packages/app/src/App.jsx | 1 - packages/app/src/layouts/default/index.jsx | 25 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/app/src/App.jsx b/packages/app/src/App.jsx index 13f7e26a..ac838680 100644 --- a/packages/app/src/App.jsx +++ b/packages/app/src/App.jsx @@ -413,7 +413,6 @@ class App extends React.Component { {config.app.siteName} -
{ - return - - - - - -
- {React.cloneElement(props.children, props)} -
-
+ return <> +
+ + + + + + +
+ {React.cloneElement(props.children, props)} +
+
+
- + } \ No newline at end of file