From 5eff01048d84170486bbc765d02ce40293005d64 Mon Sep 17 00:00:00 2001 From: Victor Kirov Date: Fri, 2 Feb 2024 08:41:26 +0200 Subject: [PATCH 1/2] Ensure translations are not applied to seed phrases --- src/app/components/seedPhraseView/word.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/seedPhraseView/word.tsx b/src/app/components/seedPhraseView/word.tsx index 7c100c3da..8024485ca 100644 --- a/src/app/components/seedPhraseView/word.tsx +++ b/src/app/components/seedPhraseView/word.tsx @@ -27,7 +27,9 @@ function SeedPhraseWord({ index, word }: Props) { return ( {index + 1}. - {word} + + {word} + ); } From 47e92262966caee3eb742073efce274e6e4307a6 Mon Sep 17 00:00:00 2001 From: Victor Kirov Date: Fri, 2 Feb 2024 08:48:11 +0200 Subject: [PATCH 2/2] Ensure the word button in confirm words onboarding steps aren't translated --- src/app/components/seedPhraseView/index.tsx | 1 - src/app/screens/backupWalletSteps/verifySeed.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/components/seedPhraseView/index.tsx b/src/app/components/seedPhraseView/index.tsx index 814ca4073..d1bd21420 100644 --- a/src/app/components/seedPhraseView/index.tsx +++ b/src/app/components/seedPhraseView/index.tsx @@ -1,5 +1,4 @@ import Eye from '@assets/img/createPassword/Eye.svg'; -import { useMemo } from 'react'; import styled from 'styled-components'; import SeedPhraseWord from './word'; diff --git a/src/app/screens/backupWalletSteps/verifySeed.tsx b/src/app/screens/backupWalletSteps/verifySeed.tsx index 1f0ee0be2..e06eb8cd1 100644 --- a/src/app/screens/backupWalletSteps/verifySeed.tsx +++ b/src/app/screens/backupWalletSteps/verifySeed.tsx @@ -143,7 +143,7 @@ export default function VerifySeed({ {quiz.words.map((word) => ( - + {word} ))}