Merge pull request #51 from mars-protocol/v1.7.3-hotfix

v1.7.3-hotfix
This commit is contained in:
Linkie Link 2023-11-20 11:40:43 +01:00 committed by GitHub
commit 2a24ac5594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,8 +100,8 @@ export const AssetTable = ({ data, columns, type, disabled = false }: Props) =>
if (row.depth === 1) {
return (
<React.Fragment key={`${row.id}_subrow`}>
<ActionsRow key={`${row.id}_actions`} row={table.getRow(row.id[0])} type={type} />
<MetricsRow key={`${row.id}_metrics`} row={table.getRow(row.id[0])} type={type} />
<ActionsRow key={`${row.original.id}_actions`} row={row} type={type} />
<MetricsRow key={`${row.original.id}_metrics`} row={row} type={type} />
</React.Fragment>
)
}