Skip to content

Commit

Permalink
trivial change
Browse files Browse the repository at this point in the history
  • Loading branch information
mmocny committed Aug 18, 2023
1 parent cb1d6fe commit fe8dada
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ async function measureNextFCPLCP(connectToDeferredSoftNav, abortSignal) {
return [nextFCP.promise, nextLCP.promise];
}

let abortController;

// Only one stored interaction seems to work at a time.
// If there is an "async" operation after interaction and a new event arrives, the previous
Expand Down Expand Up @@ -118,6 +117,8 @@ function createDeferredSoftNav() {
};
}

let abortController;

export function wrapper(callback) {
return (event) => {
const nextINP = measureNextINP(event.timeStamp, event.type);
Expand Down

0 comments on commit fe8dada

Please sign in to comment.