Skip to content

Commit

Permalink
dap-fix: fixed tokenInfo callers
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Sep 6, 2023
1 parent 7c642f2 commit b0edbe1
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,15 @@ export const TransactionResultTable = ({
<div
onClick={() => {
onOpen!();
setShowTokenInfo!(true);
setTokenInfoFromTxResult!(transactionResult.tokenInfo);
setAPIMethodsFromTxResult!(transactionResult.APICalled);
setKeyTypeFromTxResult!(transactionResult.keyTypeCalled);
setTokenAddressFromTxResult!(transactionResult.tokenAddress as string);
if (setShowTokenInfo) setShowTokenInfo(true);
if (setTokenInfoFromTxResult)
setTokenInfoFromTxResult(transactionResult.tokenInfo);
if (setAPIMethodsFromTxResult)
setAPIMethodsFromTxResult(transactionResult.APICalled);
if (setKeyTypeFromTxResult)
setKeyTypeFromTxResult(transactionResult.keyTypeCalled);
if (setTokenAddressFromTxResult)
setTokenAddressFromTxResult(transactionResult.tokenAddress as string);
}}
>
<div className="flex gap-1 items-center">
Expand Down

0 comments on commit b0edbe1

Please sign in to comment.