diff --git a/components/layout/layout-wrapper.tsx b/components/layout/layout-wrapper.tsx index c7d9b733..15b7462d 100644 --- a/components/layout/layout-wrapper.tsx +++ b/components/layout/layout-wrapper.tsx @@ -1,10 +1,8 @@ "use client"; import { MainNav } from "@/components/main-nav"; -import { Footer } from "@/components/footer"; import { AuthCheck } from "@/components/auth/auth-check"; import { Toaster } from "@/components/ui/toaster"; -import { useBackgroundImage } from "@/components/background-switcher"; interface LayoutWrapperProps { children: React.ReactNode; @@ -17,8 +15,6 @@ export function LayoutWrapper({ isSignInPage, isAuthenticated, }: LayoutWrapperProps) { - const { currentBackground, changeBackground } = useBackgroundImage(); - if (isSignInPage) { return <>{children}; } @@ -26,29 +22,13 @@ export function LayoutWrapper({ return (
-
- {!isSignInPage && isAuthenticated &&