diff --git a/src/components/dashboard-layout.tsx b/src/components/dashboard-layout.tsx index 0263fd93f..8946eabde 100644 --- a/src/components/dashboard-layout.tsx +++ b/src/components/dashboard-layout.tsx @@ -1,6 +1,7 @@ import { MainNav } from "@/components/dashboard/main-nav"; import { Search } from "@/components/dashboard/search"; import { TeamSwitcher } from "@/components/dashboard/team-switcher"; +import { FeatureFlagsProvider } from "@/components/feature-flags-provider"; import { Footer } from "@/components/footer"; import { GuestNav } from "@/components/guest-nav"; import { LocaleSwitcher } from "@/components/locale-switcher"; @@ -26,49 +27,51 @@ export async function DashboardLayout({ const scoutingEnabled = await scoutingTool(); return ( - -
-
-
- - - -
- - - - {session ? ( - <> - - - - ) : ( - - )} + + +
+
+
+ + + +
+ + + + {session ? ( + <> + + + + ) : ( + + )} +
-
-
- -
- - - {session ? ( - <> - - - - ) : ( - - )} +
+ +
+ + + {session ? ( + <> + + + + ) : ( + + )} +
+ {children}
- {children} -
-