Skip to content

Commit

Permalink
old
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaruan committed Jun 28, 2022
1 parent f09af6c commit 6fb4d3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-reconciler/src/ReactFiberLane.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,9 +813,9 @@ export function addTransitionToLanesMap(
const index = laneToIndex(lane);
let transitions = transitionLanesMap[index];
if (transitions === null) {
transitions = [];
transitions = new Set();
}
transitions.push(transition);
transitions.add(transition);

transitionLanesMap[index] = transitions;
}
Expand Down

0 comments on commit 6fb4d3c

Please sign in to comment.