From e822b23d4078f1817099c97d92561c560e2f4af7 Mon Sep 17 00:00:00 2001 From: Lionell Briones Date: Mon, 9 Oct 2023 14:44:06 +0800 Subject: [PATCH] instance use --- packages/ui/src/localeImport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/localeImport.ts b/packages/ui/src/localeImport.ts index 2caaa28cc..4199f72dc 100644 --- a/packages/ui/src/localeImport.ts +++ b/packages/ui/src/localeImport.ts @@ -4,7 +4,7 @@ import { initReactI18next } from "react-i18next"; import { en } from "./i18n"; const i18nInstance = i18n.createInstance(); -i18n.use(initReactI18next).init({ +i18nInstance.use(initReactI18next).init({ resources: { en: { translation: en }, },