diff --git a/src/components/app/MobileDrawer.tsx b/src/components/app/MobileDrawer.tsx index ea630ce..f2f325e 100644 --- a/src/components/app/MobileDrawer.tsx +++ b/src/components/app/MobileDrawer.tsx @@ -6,7 +6,7 @@ import { useState } from 'react' import { usePathname, useRouter } from 'next/navigation' import { - MAIN_SIDEBAR, + MOBILE_MAIN_SIDEBAR, MOBILE_REACT_SIDEBAR, MOBILE_SHADCN_SIDEBAR, } from '@/data/sidebar-links' @@ -20,12 +20,12 @@ export default function MobileDrawer() { const pathname = usePathname() const ACTIVE_SIDEBAR = pathname.includes('/docs') - ? MAIN_SIDEBAR + ? MOBILE_MAIN_SIDEBAR : pathname.includes('/react') ? MOBILE_REACT_SIDEBAR : pathname.includes('/shadcn') ? MOBILE_SHADCN_SIDEBAR - : MAIN_SIDEBAR + : MOBILE_MAIN_SIDEBAR const [isDrawerActive, setIsDrawerActive] = useState(false) @@ -36,7 +36,7 @@ export default function MobileDrawer() { return ( <> -
+