From 64f9cd6a7c805b8c782254d46fe8c32610fe3eca Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Oct 2021 18:15:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Move=20the=20layout=20inside=20t?= =?UTF-8?q?he=20app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.tsx | 142 +++++++++++++++++++++---------------------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index c2b2435..f961491 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -37,70 +37,76 @@ import {ThemeProvider} from "./contexts/theme" function App({..._}: RouteComponentProps) { return React.useMemo( () => <> - - - - - - <> - - } - selectedRoute={() => <> - - - - - - <> - <> - - - - - - <> - - - - } - selectedRoute={({selection}) => <> - - - <> - - - - } - selectedRoute={({selection}) => <> - - - - - } - /> - - } - /> - + + + + + + + + + <> + + } + selectedRoute={() => <> + + + + + + <> + <> + + + + + + <> + + + + } + selectedRoute={({selection}) => <> + + + <> + + + + } + selectedRoute={({selection}) => <> + + + + + } + /> + + } + /> + + } + /> } /> - } - /> - - - } - /> - - + + + } + /> + + + + + , [], ) @@ -111,15 +117,9 @@ export default function AppWrapper() { return ( - - - - - - - - - + + + )