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 ef24da1 commit 3416dbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/attribution/onINP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ const attributeINP = (metric: INPMetric): void => {
const firstEntryWithTarget = metric.entries.find((entry) => entry.target);

(metric as INPMetricWithAttribution).attribution = {
eventTarget: getSelector(firstEntryWithTarget && firstEntryWithTarget.target),
eventTarget: getSelector(
firstEntryWithTarget && firstEntryWithTarget.target,
),
eventType: longestEntry.name,
eventTime: longestEntry.startTime,
eventEntry: longestEntry,
Expand Down

0 comments on commit 3416dbe

Please sign in to comment.