chore: remove unused code (#1989)
This commit is contained in:
parent
f7939c758f
commit
eed5fdd768
12 changed files with 7 additions and 298 deletions
|
|
@ -9,12 +9,10 @@ import { setLocaleOnClient } from '@/i18n/client'
|
|||
|
||||
export type II18nProps = {
|
||||
locale: Locale
|
||||
dictionary: Record<string, any>
|
||||
children: React.ReactNode
|
||||
}
|
||||
const I18n: FC<II18nProps> = ({
|
||||
locale,
|
||||
dictionary,
|
||||
children,
|
||||
}) => {
|
||||
useEffect(() => {
|
||||
|
|
@ -24,7 +22,7 @@ const I18n: FC<II18nProps> = ({
|
|||
return (
|
||||
<I18NContext.Provider value={{
|
||||
locale,
|
||||
i18n: dictionary,
|
||||
i18n: {},
|
||||
setLocaleOnClient,
|
||||
}}>
|
||||
{children}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue