From 28e148721ac6b3f2192f93a5ea83904076683a1e Mon Sep 17 00:00:00 2001 From: zzggo Date: Fri, 6 Dec 2024 18:02:35 +1100 Subject: [PATCH] fixed: move evm button --- src/ui/views/MoveBoard/MoveEvm/index.tsx | 80 +++++++++++++----------- 1 file changed, 42 insertions(+), 38 deletions(-) diff --git a/src/ui/views/MoveBoard/MoveEvm/index.tsx b/src/ui/views/MoveBoard/MoveEvm/index.tsx index 2ca29e1b..8e6ccfa5 100644 --- a/src/ui/views/MoveBoard/MoveEvm/index.tsx +++ b/src/ui/views/MoveBoard/MoveEvm/index.tsx @@ -449,46 +449,50 @@ const MoveEvm = (props: MoveBoardProps) => { isLowStorage={isLowStorage} isLowStorageAfterAction={isLowStorageAfterAction} /> - + + ) : ( + <> + {failed ? ( + + {chrome.i18n.getMessage('Transaction__failed')} + + ) : ( + + {chrome.i18n.getMessage('Move')} {nftIdArray.length > 0 && nftIdArray.length} NFT + {nftIdArray.length > 1 && 's'} + + )} + + )} + + {selectCollection && (