From 59d00d4ad38f865069e3a88b15ca3bb971951280 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Tue, 22 Nov 2022 00:34:15 +0000 Subject: [PATCH] fix debug console position --- packages/app/src/layout.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/src/layout.jsx b/packages/app/src/layout.jsx index 952b977a..b1747c70 100755 --- a/packages/app/src/layout.jsx +++ b/packages/app/src/layout.jsx @@ -161,8 +161,6 @@ export default class Layout extends React.PureComponent { return JSON.stringify(this.state.renderError) } - console.debug(`Rendering layout [${this.state.layoutType}] for current route [${window.location.pathname}]`) - // check with the current route if it's a protected route or requires some permissions const routeDeclaration = routes.find((route) => route.path === window.location.pathname) @@ -196,6 +194,8 @@ export default class Layout extends React.PureComponent { ...this.state, } + console.debug(`Rendering layout [${this.state.layoutType}] for current route [${window.location.pathname}]`) + const Layout = Layouts[layoutType] if (!Layout) {