diff --git a/src/components/earn/fidelity-bond/FidelityBondDialogParts.tsx b/src/components/earn/fidelity-bond/FidelityBondDialogParts.tsx index 9174958c..165ce050 100644 --- a/src/components/earn/fidelity-bond/FidelityBondDialogParts.tsx +++ b/src/components/earn/fidelity-bond/FidelityBondDialogParts.tsx @@ -61,6 +61,7 @@ export function JarBadge({ jarIndex, name }: { jarIndex: JarIndex | undefined; n {name} #{jarIndex} ) : ( + /* TODO: i18n - move key to different namespace*/ t('earn.fidelity_bond.review_inputs.label_jar_n', { jar: jarIndex }) )} diff --git a/src/components/settings/AccountXpubsDialog.tsx b/src/components/settings/AccountXpubsDialog.tsx index 699da46a..668ff9cc 100644 --- a/src/components/settings/AccountXpubsDialog.tsx +++ b/src/components/settings/AccountXpubsDialog.tsx @@ -26,6 +26,7 @@ import { withQueryDelay } from '@/lib/queryClient' import { cn, type WalletFileName } from '@/lib/utils' import { convertExtendedPublicKey } from '@/lib/xpubs' import type { JarIndex, Milliseconds, MnemonicPhrase, WithRequiredProperty } from '@/types/global' +import { JarBadge } from '../earn/fidelity-bond/FidelityBondDialogParts' import { Alert, AlertDescription, AlertTitle } from '../ui/alert' import { Badge } from '../ui/badge' import { buttonVariants } from '../ui/button-variants' @@ -173,9 +174,9 @@ export const AccountXpubsAccordion = ({ values }: AccountXpubsAccordionProps) => - {account.accountName} + {accountLabel} - {accountLabel} +