From f1d23f5991f2440b82e5cf3939dea398abd50653 Mon Sep 17 00:00:00 2001 From: katspaugh Date: Thu, 26 Oct 2023 18:41:53 +0200 Subject: [PATCH] Fix: key prop in HumanDescription --- src/components/transactions/HumanDescription/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/transactions/HumanDescription/index.tsx b/src/components/transactions/HumanDescription/index.tsx index ff6feee1d9..4d6cd51492 100644 --- a/src/components/transactions/HumanDescription/index.tsx +++ b/src/components/transactions/HumanDescription/index.tsx @@ -58,14 +58,14 @@ export const TransferDescription = ({ txInfo, isSendTx }: { txInfo: Transfer; is export const HumanDescription = ({ fragments }: RichDecodedInfo) => { return ( <> - {fragments.map((fragment) => { + {fragments.map((fragment, index) => { switch (fragment.type) { case RichFragmentType.Text: - return {fragment.value} + return {fragment.value} case RichFragmentType.Address: - return + return case RichFragmentType.TokenValue: - return + return } })}