diff --git a/src/app/screens/Options/TestConnection/card.tsx b/src/app/screens/Options/TestConnection/card.tsx index 49df927d13..460e044968 100644 --- a/src/app/screens/Options/TestConnection/card.tsx +++ b/src/app/screens/Options/TestConnection/card.tsx @@ -1,5 +1,3 @@ -import { useTranslation } from "react-i18next"; - type Props = { alias: string; accountName: string; @@ -17,22 +15,15 @@ export default function TestConnectionResultCard({ color, currency, }: Props) { - const { t } = useTranslation("translation", { - keyPrefix: "welcome.test_connection", - }); return ( -
-

- {t("account_name", { accountName })} -

-

- {t("alias", { alias })} -

-

- {satoshis} -

+
+

{accountName}

+

{alias}

+

{satoshis}

{fiat && currency && ( -

+

{fiat} {currency}

)} diff --git a/src/app/screens/Options/TestConnection/index.tsx b/src/app/screens/Options/TestConnection/index.tsx index f391a8b746..4e5464d81e 100644 --- a/src/app/screens/Options/TestConnection/index.tsx +++ b/src/app/screens/Options/TestConnection/index.tsx @@ -1,5 +1,6 @@ import Button from "@components/Button"; import Loading from "@components/Loading"; +import { PopiconsBadgeCheckSolid } from "@popicons/react"; import { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; @@ -106,15 +107,9 @@ export default function TestConnection() { {accountInfo && accountInfo.alias && (
-
-

- {tCommon("success")} -

- image +
+ +

{tCommon("success")}

diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json index 51d7e24862..d8b6e179e9 100644 --- a/src/i18n/locales/en/translation.json +++ b/src/i18n/locales/en/translation.json @@ -26,9 +26,7 @@ "contact_support": "If you need help please contact support@getalby.com", "actions": { "delete_edit_account": "Delete invalid account and edit again" - }, - "account_name": "Account Name: {{accountName}}", - "alias": "Alias: {{alias}}" + } }, "pin_extension": { "title": "Pin your Alby extension",