Commit e5b4abe
authored
fix: rebuild allAutoStickyStates with nested iteration instead of flat() (#3840)
Array.prototype.flat() only flattens arrays, not Sets.
Since autoStickyStates is a Map<string, Set<string>>, spreading
its values and calling flat() resulted in Set objects themselves
being stored in allAutoStickyStates instead of their individual
state strings.1 parent 7b88c5a commit e5b4abe
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
800 | | - | |
801 | | - | |
802 | | - | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
803 | 806 | | |
804 | 807 | | |
805 | 808 | | |
| |||
0 commit comments