Skip to content

Commit 3a2a442

Browse files
committed
add idx to row id
1 parent e5717e6 commit 3a2a442

File tree

1 file changed

+2
-2
lines changed
  • packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore

1 file changed

+2
-2
lines changed

packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/TablesViewer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ export function TablesViewer({ table, isLiveQuery }: Props) {
127127
},
128128
manualPagination: true,
129129
pageCount: -1,
130-
getRowId: (row) => {
130+
getRowId: (row, idx) => {
131131
const values = Object.values(row).join("-");
132-
return keccak256(toHex(`${query}-${values}`));
132+
return keccak256(toHex(`${query}-${idx}-${values}`));
133133
},
134134
onSortingChange: setSorting,
135135
onPaginationChange: handlePaginationChange,

0 commit comments

Comments
 (0)