diff --git a/apps/web/src/app/[lang]/(app)/layout.tsx b/apps/web/src/app/[lang]/(app)/layout.tsx index a27e9bcd..90de6f5c 100644 --- a/apps/web/src/app/[lang]/(app)/layout.tsx +++ b/apps/web/src/app/[lang]/(app)/layout.tsx @@ -1,5 +1,4 @@ import { AppLayout } from '@/layouts/app-layout/AppLayout'; -import { SupportBanner } from '@/components/SupportBanner'; import { routing } from '@/lib/i18n/routing'; import { SupportedLocale } from '@libs/i18n'; import { notFound } from 'next/navigation'; @@ -16,12 +15,9 @@ export default async function RootLayout({ children, modal, params }: AppLayoutP notFound(); } return ( - <> - - - {children} - {modal} - - + + {children} + {modal} + ); } diff --git a/apps/web/src/layouts/app-layout/AppLayout.tsx b/apps/web/src/layouts/app-layout/AppLayout.tsx index 6183bfb5..f9384245 100644 --- a/apps/web/src/layouts/app-layout/AppLayout.tsx +++ b/apps/web/src/layouts/app-layout/AppLayout.tsx @@ -5,6 +5,7 @@ import { Navbar } from '../../components/Navbar'; import { SidebarInset, SidebarProvider } from '@libs/ui/components/sidebar'; import { SidebarLeft } from './sidebars/sidebar-left/SidebarLeft'; import { SidebarRight } from './sidebars/sidebar-right/SidebarRight'; +import { SupportBanner } from '@/components/SupportBanner'; export function AppLayout({ children }: { children: React.ReactNode }) { const { @@ -31,6 +32,7 @@ export function AppLayout({ children }: { children: React.ReactNode }) { +
{children}