-
{t("modal.footer.message-new")}
-
-
+
+
{t("modal.footer.message-new")}
+
+
);
}
diff --git a/packages/ui/src/components/SocialLoginPasswordless.tsx b/packages/ui/src/components/SocialLoginPasswordless.tsx
index 9a6eeae70..e23749910 100644
--- a/packages/ui/src/components/SocialLoginPasswordless.tsx
+++ b/packages/ui/src/components/SocialLoginPasswordless.tsx
@@ -1,8 +1,7 @@
import { LOGIN_PROVIDER } from "@web3auth/auth";
-import { ChangeEvent, FormEvent, useContext, useEffect, useMemo, useState } from "react";
+import { ChangeEvent, FormEvent, useEffect, useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
-import { ThemedContext } from "../context/ThemeContext";
import i18n from "../localeImport";
import { getUserCountry, validatePhoneNumber } from "../utils";
import Button from "./Button";
@@ -17,7 +16,6 @@ interface SocialLoginPasswordlessProps {
}
export default function SocialLoginPasswordless(props: SocialLoginPasswordlessProps) {
const { handleSocialLoginClick, adapter, isPrimaryBtn, isEmailVisible, isSmsVisible } = props;
- const { isDark } = useContext(ThemedContext);
const [fieldValue, setFieldValue] = useState
("");
const [countryCode, setCountryCode] = useState("");
@@ -90,17 +88,19 @@ export default function SocialLoginPasswordless(props: SocialLoginPasswordlessPr
{t(title)}
{isSmsVisible && (
-
-
-
-
+
+
+
+
-
{t("modal.popup.phone-header")}
-
{t("modal.popup.phone-body")}
+
+ {t("modal.popup.phone-header")}
+
+
{t("modal.popup.phone-body")}
@@ -108,7 +108,7 @@ export default function SocialLoginPasswordless(props: SocialLoginPasswordlessPr
}
-