Skip to content

Commit

Permalink
fix i18n import
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Oct 17, 2023
1 parent 2b7420f commit 61ce247
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ui/src/loginModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "../css/web3auth.css";
import "./localeImport";

import { SafeEventEmitter } from "@toruslabs/openlogin-jrpc";
import {
Expand All @@ -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";
Expand All @@ -30,6 +28,7 @@ import {
SocialLoginEventType,
UIConfig,
} from "./interfaces";
import i18n from "./localeImport";
import { getUserLanguage } from "./utils";

function createWrapper(parentZIndex: string): HTMLElement {
Expand Down

0 comments on commit 61ce247

Please sign in to comment.