We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4978fa7 commit b27f778Copy full SHA for b27f778
core/src/Aggregator/SyncAggregator.ts
@@ -56,7 +56,7 @@ export class SyncAggregator implements Aggregator {
56
activity.transitionState === "exit-active",
57
);
58
const mostRecentlyActivatedActivity = activeActivities.sort(
59
- (a, b) => b.estimatedTransitionEnd - a.estimatedTransitionEnd,
+ (a, b) => a.estimatedTransitionEnd - b.estimatedTransitionEnd,
60
)[0];
61
62
return mostRecentlyActivatedActivity
0 commit comments