Skip to content

Commit b27f778

Browse files
author
anakin_karrot
committed
fix order
1 parent 4978fa7 commit b27f778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/Aggregator/SyncAggregator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class SyncAggregator implements Aggregator {
5656
activity.transitionState === "exit-active",
5757
);
5858
const mostRecentlyActivatedActivity = activeActivities.sort(
59-
(a, b) => b.estimatedTransitionEnd - a.estimatedTransitionEnd,
59+
(a, b) => a.estimatedTransitionEnd - b.estimatedTransitionEnd,
6060
)[0];
6161

6262
return mostRecentlyActivatedActivity

0 commit comments

Comments
 (0)