From 1619f8039416a63b51753562475737c04f87ddf3 Mon Sep 17 00:00:00 2001 From: jinoosss <112360739+jinoosss@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:20:14 +0900 Subject: [PATCH] fix: Fix a data retention bug when sending tokens from Asset Details page (#204) --- .../adena-extension/src/pages/wallet/token-details/index.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/adena-extension/src/pages/wallet/token-details/index.tsx b/packages/adena-extension/src/pages/wallet/token-details/index.tsx index 54e22435..b9caf5f2 100644 --- a/packages/adena-extension/src/pages/wallet/token-details/index.tsx +++ b/packages/adena-extension/src/pages/wallet/token-details/index.tsx @@ -200,11 +200,6 @@ export const TokenDetails = () => { const DepositButtonClick = () => navigate(RoutePath.Deposit, { state: { type: 'token', tokenMetainfo: tokenBalance } }); const SendButtonClick = () => { clearHistoryData(RoutePath.TransferInput); - navigate(RoutePath.TransferInput, { - state: { - tokenBalance, - } - }); navigate(RoutePath.TransferInput, { state: { tokenBalance } }) }; const etcButtonClick = () => setEtcClicked((prev: boolean) => !prev);