Attempt to render txid as date if possible

Summary: We are using frame time on android so make sense to present it

Reviewed By: lblasa

Differential Revision: D42996555

fbshipit-source-id: 595a08571ccd82de0761cfeea8a204e576981ee0
This commit is contained in:
Luke De Feo
2023-02-06 04:33:11 -08:00
committed by Facebook GitHub Bot
parent 4f9701ca88
commit d3df6bc00e

View File

@@ -26,6 +26,13 @@ const columns: DataTableColumn<PerfStatsEvent>[] = [
{
key: 'txId',
title: 'TXID',
onRender: (row: PerfStatsEvent) => {
try {
return new Date(row.txId).toISOString();
} catch {
return row.txId;
}
},
},
{
key: 'observerType',