Skip to content

Commit

Permalink
inline
Browse files Browse the repository at this point in the history
  • Loading branch information
c298lee committed Jul 30, 2024
1 parent 5e4d28a commit a9b6eec
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ function getWebVital(metric: Metric, name: string, nodes: Node[] | undefined): R

const end = getAbsoluteTime(value);

const nodeIds = nodes ? nodes.map(node => record.mirror.getId(node)) : undefined;

const data: ReplayPerformanceEntry<WebVitalData> = {
type: 'web-vital',
name,
Expand All @@ -243,7 +241,7 @@ function getWebVital(metric: Metric, name: string, nodes: Node[] | undefined): R
value,
size: value,
rating,
nodeIds,
nodeIds: nodes ? nodes.map(node => record.mirror.getId(node)) : undefined,
},
};

Expand Down

0 comments on commit a9b6eec

Please sign in to comment.