Skip to content

Commit ab6b6d7

Browse files
committed
Remove duplicate variable
1 parent 4bd6fd2 commit ab6b6d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

front_end/models/trace/helpers/Trace.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,10 @@ export function createSortedSyntheticEvents<T extends Types.Events.PairableAsync
352352
}>,
353353
syntheticEventCallback?: (syntheticEvent: Types.Events.SyntheticEventPair<T>) => void,
354354
): Array<Types.Events.SyntheticEventPair<T>> {
355-
const syntheticEvents: Types.Events.SyntheticEventPair<T>[] = [];
355+
const syntheticEvents: Array<Types.Events.SyntheticEventPair<T>> = [];
356356
let currentAnimationFrame: Types.Events.SyntheticEventPair<T> & {
357357
phases?: Array<Types.Events.SyntheticEventPair<T>>,
358358
} = {} as Types.Events.SyntheticEventPair<T>;
359-
const syntheticEvents: Array<Types.Events.SyntheticEventPair<T>> = [];
360359
for (const [id, eventsTriplet] of matchedPairs.entries()) {
361360
const beginEvent = eventsTriplet.begin;
362361
const endEvent = eventsTriplet.end;

0 commit comments

Comments
 (0)