From 865c783a38c84294b0e61396c6c8ef90b066ac2b Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Fri, 10 Nov 2023 16:24:46 +0800 Subject: [PATCH] Relayer manage modal state reset --- packages/apps/src/components/relayer-manage-modal.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/apps/src/components/relayer-manage-modal.tsx b/packages/apps/src/components/relayer-manage-modal.tsx index 42ff21125..a39c5ded4 100644 --- a/packages/apps/src/components/relayer-manage-modal.tsx +++ b/packages/apps/src/components/relayer-manage-modal.tsx @@ -107,6 +107,9 @@ export default function RelayerManageModal({ relayerInfo, isOpen, onClose, onSuc setSourceChain(_sourceChain); setTargetChain(_targetChain); setSourceToken(_sourceToken); + setWithdrawAmount({ formatted: 0n, value: "" }); + setDepositAmount({ formatted: 0n, value: "" }); + setActiveKey("update"); }, [ relayerInfo, setBaseFee,