diff --git a/.changeset/hip-rings-rule.md b/.changeset/hip-rings-rule.md new file mode 100644 index 0000000000..abb7e73306 --- /dev/null +++ b/.changeset/hip-rings-rule.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/explorer": patch +--- + +Fixed inputs display in the transactions table row. diff --git a/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/TransactionTableRow.tsx b/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/TransactionTableRow.tsx index 4bf58d0676..1784f8f69d 100644 --- a/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/TransactionTableRow.tsx +++ b/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/TransactionTableRow.tsx @@ -86,7 +86,9 @@ export function TransactionTableRow({ row }: { row: Row }) { {data.functionData?.args?.map((arg, idx) => (
arg {idx + 1}: - {String(arg)} + + {typeof arg === "object" && arg !== null ? JSON.stringify(arg, null, 2) : String(arg)} +
))}