diff --git a/src/pages/SmartContract/ContractInteraction/ManageTokenPopup.tsx b/src/pages/SmartContract/ContractInteraction/ManageTokenPopup.tsx index a55494f22a..5eff74ac19 100644 --- a/src/pages/SmartContract/ContractInteraction/ManageTokenPopup.tsx +++ b/src/pages/SmartContract/ContractInteraction/ManageTokenPopup.tsx @@ -38,6 +38,7 @@ const Row = styled.div` ` const CoinWrapper = styled.div` + cursor: pointer; margin: 8px 0px; min-height: 40px; display: flex; @@ -71,7 +72,7 @@ const WrapToken = styled.div` const CoinConfig = ({ token, isEnable, setToggle }) => { return ( - + setToggle()}> setToggle()} /> diff --git a/src/pages/Transactions/components/TxDetail/Message.tsx b/src/pages/Transactions/components/TxDetail/Message.tsx index c9cc1802ee..500f859cc6 100644 --- a/src/pages/Transactions/components/TxDetail/Message.tsx +++ b/src/pages/Transactions/components/TxDetail/Message.tsx @@ -47,7 +47,7 @@ const TransactionMemo = ({ memo }: { memo: string }) => { return ( Transaction memo: -

{memo}

+
{memo}
) } @@ -122,19 +122,20 @@ export default function TxMsg({ tx, txDetail, token, onImport }) { ))} - {msg[0]?.value?.funds.length > 0 ?
Transaction funds:
: <>} - {msg[0]?.value?.funds?.map((fund, index) => { - const foundToken = tokenList.find((token) => token.cosmosDenom === fund.denom || token.denom === fund.denom) - if (foundToken) { - return ( -
-

+

+ {msg[0]?.value?.funds.length > 0 ?
Transaction funds:
: <>} + {msg[0]?.value?.funds?.map((fund, index) => { + const foundToken = tokenList.find((token) => token.cosmosDenom === fund.denom || token.denom === fund.denom) + if (foundToken) { + return ( +
{convertAmount(fund.amount, false, +foundToken?.decimals)} {foundToken.symbol} -

-
- ) - } - })} +
+ ) + } + })} +
+ {txDetail?.txMemo && } )