Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rviscomi committed Jan 23, 2024
1 parent 529d991 commit 0b15967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attribution/onINP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const attributeINP = (metric: INPMetric): void => {
// for all events in the same interaction, we pick the first non-null one.
// TODO: remove when 1367329 is resolved
// https://bugs.chromium.org/p/chromium/issues/detail?id=1367329
const firstTargetEntry = metric.entries.find(entry => entry.target);
const firstTargetEntry = metric.entries.find((entry) => entry.target);

(metric as INPMetricWithAttribution).attribution = {
eventTarget: getSelector(firstTargetEntry?.target),
Expand Down

0 comments on commit 0b15967

Please sign in to comment.