From 61ce24769811a64f0d2c8e80067f63b18d5ec219 Mon Sep 17 00:00:00 2001 From: chaitanyapotti Date: Tue, 17 Oct 2023 15:51:13 +0800 Subject: [PATCH] fix i18n import --- packages/ui/src/loginModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/ui/src/loginModal.tsx b/packages/ui/src/loginModal.tsx index da3677ee6..edf7eab9c 100644 --- a/packages/ui/src/loginModal.tsx +++ b/packages/ui/src/loginModal.tsx @@ -1,5 +1,4 @@ import "../css/web3auth.css"; -import "./localeImport"; import { SafeEventEmitter } from "@toruslabs/openlogin-jrpc"; import { @@ -15,7 +14,6 @@ import { WalletConnectV2Data, Web3AuthError, } from "@web3auth/base"; -import i18n from "i18next"; import { createRoot } from "react-dom/client"; import Modal from "./components/Modal"; @@ -30,6 +28,7 @@ import { SocialLoginEventType, UIConfig, } from "./interfaces"; +import i18n from "./localeImport"; import { getUserLanguage } from "./utils"; function createWrapper(parentZIndex: string): HTMLElement {