'use client' import { useChangeLocale, useCurrentLocale } from '@/locales/client' import { LC, type loc } from '@/config/locales' import { ChangeEvent } from 'react' export default function LocaleSwitcher () { const changeLocale = useChangeLocale() const locale = useCurrentLocale() const selectHandler = (e: ChangeEvent) => changeLocale(e.target.value as loc) // {cn(styles['yo-locale-switcher'], 'pr-4')} return (//@ts-ignore
) }