feat: modernized web application
This commit is contained in:
10
nextjs/src/components/I18nProvider.tsx
Normal file
10
nextjs/src/components/I18nProvider.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
'use client';
|
||||
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
import i18n from '@/i18n/client';
|
||||
|
||||
export function I18nProvider({ children }: { children: ReactNode }) {
|
||||
return <I18nextProvider i18n={i18n}>{children}</I18nextProvider>;
|
||||
}
|
||||
Reference in New Issue
Block a user