diff --git a/FooterWrapper.tsx b/FooterWrapper.tsx index c85fb5188a..ac493012ff 100644 --- a/FooterWrapper.tsx +++ b/FooterWrapper.tsx @@ -1,17 +1,14 @@ "use client"; import Footer from "@/components/footer/Footer"; -import { SIDEBAR_WIDTHS } from "@/constants/sidebar"; import { usePathname } from "next/navigation"; import { useEffect, useState } from "react"; import useDeviceInfo from "./hooks/useDeviceInfo"; -import { useSidebarController } from "./hooks/useSidebarController"; export default function FooterWrapper() { const { isApp } = useDeviceInfo(); const pathname = usePathname(); const [homeActiveTab, setHomeActiveTab] = useState("latest"); - const { sidebarWidth, isMobile, isNarrow } = useSidebarController(); useEffect(() => { const win = (globalThis as typeof globalThis & { window?: Window }).window; if (win === undefined) { @@ -60,18 +57,5 @@ export default function FooterWrapper() { if (hideFooter) return null; - // App mode or small-screen web: no left-rail spacing - if (isApp || isMobile) return