From 5be46d97c972e06c7d1a719327e401883045afcd Mon Sep 17 00:00:00 2001 From: Paul Bui-Quang Date: Wed, 20 Nov 2024 15:21:53 +0100 Subject: [PATCH] fix: readd snackbar --- src/components/Routes/AppNavigation/AppNavigation.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Routes/AppNavigation/AppNavigation.tsx b/src/components/Routes/AppNavigation/AppNavigation.tsx index 2d32dea2e..09435c77d 100644 --- a/src/components/Routes/AppNavigation/AppNavigation.tsx +++ b/src/components/Routes/AppNavigation/AppNavigation.tsx @@ -9,6 +9,7 @@ import LeftSideBar from '../LeftSideBar/LeftSideBar' import AutoLogoutContainer from '../AutoLogoutContainer' import { WebSocketProvider } from 'components/WebSocket/WebSocketProvider' import Maintenance from 'views/Maintenance' +import Snackbar from 'components/Snackbar/Snackbar' type LayoutProps = { displaySideBar: boolean @@ -19,10 +20,9 @@ const Layout = (props: PropsWithChildren) => { return ( <> + {me && } - {props.displaySideBar && } - {props.children} )