'use client' import { usePathname, useRouter } from 'next/navigation' import { CONFIG_GROUPS } from '../admin/configNavigation' export default function SettingsNavigation() { const pathname = usePathname() const router = useRouter() const current = CONFIG_GROUPS.flatMap((group) => group.items).find((item) => item.href === pathname) if (pathname === '/admin') return null return }