import Link from 'next/link' import s from './MenuSidebarView.module.css' import { useUI } from '@components/ui/context' import SidebarLayout from '@components/common/SidebarLayout' import type { Link as LinkProps } from './index' import { useRouter } from 'next/router' export default function MenuSidebarView({ links = [], }: { links?: LinkProps[] }) { const { closeSidebar } = useUI() const { locale = 'it' } = useRouter() return ( closeSidebar()}>
) } MenuSidebarView