From 658968e58fb362d08ef58c4bc71241fa6bcfd9fc Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 13 Oct 2023 13:53:16 +0300 Subject: [PATCH 1/7] feat: add number of word in rec phrase --- src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx index a80b74da..f13ecc3a 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx @@ -65,7 +65,7 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => { > {generatedMnemonic.map((word, index) => ( - {word} + {index + 1}. {word} ))} From 4196be475c5b787eff9976d5f97af15f417806d9 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 13 Oct 2023 14:44:52 +0300 Subject: [PATCH 2/7] fix: rec phase structure --- .../KeyGeneration/RecoveryPhrase.tsx | 31 +++++++++---------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx index f13ecc3a..44c8ebf3 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx @@ -51,25 +51,22 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => { width: '100%', }} > - - - {generatedMnemonic.map((word, index) => ( - - {index + 1}. {word} - - ))} - - + {generatedMnemonic.map((word, index) => ( + + {index + 1}. {word} + + ))} +