diff --git a/src/pages/Transaction/TransactionCell/index.tsx b/src/pages/Transaction/TransactionCell/index.tsx index 50739dafe..f6d7e50fd 100644 --- a/src/pages/Transaction/TransactionCell/index.tsx +++ b/src/pages/Transaction/TransactionCell/index.tsx @@ -305,7 +305,7 @@ const TransactionCellCapacityAmount = ({ cell }: { cell: Cell }) => { return {`${parseUDTAmount(amount, udtInfo.decimal)} ${udtInfo.symbol}`} } - return {`${t('udt.unknown_token')} #${udtInfo.typeHash.substring(udtInfo.typeHash.length - 4)}`} + return {`${t('udt.unknown_token')} #${udtInfo.typeHash?.substring(udtInfo.typeHash.length - 4)}`} } return