Skip to content

Commit

Permalink
fix: readd snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-buiquang committed Dec 5, 2024
1 parent d502ad0 commit c70ddfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Routes/AppNavigation/AppNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,10 +20,9 @@ const Layout = (props: PropsWithChildren<LayoutProps>) => {

return (
<>
<Snackbar />
{me && <AutoLogoutContainer />}

{props.displaySideBar && <LeftSideBar open />}

{props.children}
</>
)
Expand Down

0 comments on commit c70ddfa

Please sign in to comment.