'use client'; import type { ComponentProps, FC } from 'react'; import Select from '@/components/Common/Select'; import { useRouter } from '@/navigation.mjs'; type WithSidebarSelectProps = Pick< ComponentProps, 'values' | 'defaultValue' | 'label' >; const WithRouterSelect: FC = ({ values, label, defaultValue, }) => { const { push } = useRouter(); return (