From 98e89a148a0411ec385e8806d32da66b0a6fc9ce Mon Sep 17 00:00:00 2001 From: Rohan Chaturvedi Date: Mon, 9 Dec 2024 19:30:42 +0530 Subject: [PATCH] fix: remove nested toast container (#409) --- frontend/app/[team]/layout.tsx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/frontend/app/[team]/layout.tsx b/frontend/app/[team]/layout.tsx index 99327511..c0c4a0e6 100644 --- a/frontend/app/[team]/layout.tsx +++ b/frontend/app/[team]/layout.tsx @@ -8,8 +8,6 @@ import clsx from 'clsx' import { usePathname, useRouter } from 'next/navigation' import { useContext, useEffect } from 'react' import UnlockKeyringDialog from '@/components/auth/UnlockKeyringDialog' -import { ToastContainer } from 'react-toastify' -import { ThemeContext } from '@/contexts/themeContext' export default function RootLayout({ children, @@ -21,8 +19,6 @@ export default function RootLayout({ const { activeOrganisation, setActiveOrganisation, organisations, loading } = useContext(organisationContext) - const { theme } = useContext(ThemeContext) - const router = useRouter() useEffect(() => { @@ -64,20 +60,6 @@ export default function RootLayout({ {children} - ) }