diff --git a/components/Tag/PolygonTag.tsx b/components/Tag/PolygonTag.tsx index 03d7ce9a..3a71a664 100644 --- a/components/Tag/PolygonTag.tsx +++ b/components/Tag/PolygonTag.tsx @@ -8,6 +8,7 @@ interface Props { } export default function PolygonTag({ text, fontType = 'Manrope', hasArrowRight = true, ellipsis }: Props) { + console.log('txMethod', text) return (
{ - const evmType = transaction?.messages ? transaction?.messages[0]?.evmType : '' + const txMethod = transaction?.messages ? transaction?.messages[0]?.evmType : '' const isEvm = isEvmTransactionType(transaction?.type) const { isMobile } = useMobileLayout() const txsHashLength = isMobile ? CONFIG.TXS_MOBILE_SPLIT_LENGTH : CONFIG.TXS_DESKTOP_SPLIT_LENGTH @@ -56,7 +56,8 @@ const AddressTransaction = ({ transaction }: Props) => { > {ellipseBetweenText(transaction.hash, txsHashLength, txsHashLength).toLowerCase()} - {evmType && } + <> + {txMethod && } {(transaction.from || transaction.to) && (
@@ -107,7 +108,7 @@ const AddressTransaction = ({ transaction }: Props) => {