From a7a3a954d870995abefcdd4022bdd6ea5cb191d8 Mon Sep 17 00:00:00 2001 From: Rohan Date: Mon, 9 Dec 2024 18:07:45 +0530 Subject: [PATCH] fix: remove nested toast container --- 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} - ) }