Skip to content

Commit 2a24ac5

Browse files
authored
Merge pull request #51 from mars-protocol/v1.7.3-hotfix
v1.7.3-hotfix
2 parents a44e4c8 + 2e2d14e commit 2a24ac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/redbank/AssetTable/AssetTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export const AssetTable = ({ data, columns, type, disabled = false }: Props) =>
100100
if (row.depth === 1) {
101101
return (
102102
<React.Fragment key={`${row.id}_subrow`}>
103-
<ActionsRow key={`${row.id}_actions`} row={table.getRow(row.id[0])} type={type} />
104-
<MetricsRow key={`${row.id}_metrics`} row={table.getRow(row.id[0])} type={type} />
103+
<ActionsRow key={`${row.original.id}_actions`} row={row} type={type} />
104+
<MetricsRow key={`${row.original.id}_metrics`} row={row} type={type} />
105105
</React.Fragment>
106106
)
107107
}

0 commit comments

Comments
 (0)