diff --git a/app/ClientLayout.tsx b/app/ClientLayout.tsx index c4011a8..254cabb 100644 --- a/app/ClientLayout.tsx +++ b/app/ClientLayout.tsx @@ -5,9 +5,10 @@ import "./globals.css" import { Inter } from "next/font/google" import { useState, useEffect } from "react" import Sidebar from "./components/Sidebar" -import MobileHeader from "./components/MobileHeader" import MobileSidebar from "./components/MobileSidebar" -import BottomNav from "./components/BottomNav" +import BottomTabs from "@/components/nav/bottom-tabs" +import { usePathname } from "next/navigation" +import { Toaster } from "@/components/ui/toaster" const inter = Inter({ subsets: ["latin"] }) @@ -18,6 +19,7 @@ export default function ClientLayout({ }) { const [isMobile, setIsMobile] = useState(false) const [sidebarOpen, setSidebarOpen] = useState(false) + const pathname = usePathname() useEffect(() => { const checkMobile = () => { @@ -33,7 +35,7 @@ export default function ClientLayout({ return (
-