File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -770,12 +770,12 @@ We collect DOM operations on children in a list so we can execute them in batch:
770
770
771
771
// Finally, unmount any children that don't exist:
772
772
for (var j = nextChildren .length ; j < prevChildren .length ; j++ ) {
773
- var prevChild = prevRenderedChildren[j];
774
- var node = prevChild .getHostNode ();
775
- prevChild .unmount ();
773
+ var prevChild = prevRenderedChildren[j];
774
+ var node = prevChild .getHostNode ();
775
+ prevChild .unmount ();
776
776
777
- // Record that we need to remove the node
778
- operationQueue .push ({type: ' REMOVE' , node});
777
+ // Record that we need to remove the node
778
+ operationQueue .push ({type: ' REMOVE' , node});
779
779
}
780
780
781
781
// Point the list of rendered children to the updated version.
You can’t perform that action at this time.
0 commit comments