From c3a0baad1071ae591ff76ad5a7d74dc34edfd363 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Fri, 4 Oct 2024 18:48:35 +0200 Subject: [PATCH] feat: show address on EVM send screen (#682) --- src/components/ContractTransaction.tsx | 3 +++ src/components/LockupEvm.tsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/components/ContractTransaction.tsx b/src/components/ContractTransaction.tsx index ee266875..2497932a 100644 --- a/src/components/ContractTransaction.tsx +++ b/src/components/ContractTransaction.tsx @@ -11,11 +11,13 @@ const ContractTransaction = ({ showHr, onClick, address, + children, promptText, buttonText, waitingText, }: { onClick: () => Promise; + children?: any; address: string; buttonText: string; promptText?: string; @@ -63,6 +65,7 @@ const ContractTransaction = ({

{promptText}

+ {children} @@ -69,6 +71,7 @@ const LockupEvm = ({ currentSwap.lockupTx = tx.hash; await setSwapStorage(currentSwap); }} + children={} address={signerAddress} buttonText={t("send")} promptText={t("transaction_prompt", { button: t("send") })}