feat(WEB-220): label translations
This commit is contained in:
12
i18n/Provider.tsx
Normal file
12
i18n/Provider.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
"use client"
|
||||
|
||||
import { IntlProvider } from "react-intl"
|
||||
|
||||
import type { ServerIntlProviderProps } from "@/types/i18n"
|
||||
|
||||
export default function ServerIntlProvider({
|
||||
children,
|
||||
intl,
|
||||
}: ServerIntlProviderProps) {
|
||||
return <IntlProvider {...intl}>{children}</IntlProvider>
|
||||
}
|
||||
Reference in New Issue
Block a user