mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
fix incorrect insertion order of stylesheets (#28108)
## Summary In the precendences Map every key is prefixed with `p`. This fixes one case where this is missing. ## How did you test this change? <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes the user interface. How exactly did you verify that your PR solves the issue you wanted to solve? If you leave this empty, your PR will very likely be closed. -->
This commit is contained in:
@@ -3559,7 +3559,7 @@ function insertStylesheetIntoRoot(
|
||||
if (prior === last) {
|
||||
precedences.set('last', instance);
|
||||
}
|
||||
precedences.set(precedence, instance);
|
||||
precedences.set('p' + precedence, instance);
|
||||
|
||||
this.count++;
|
||||
const onComplete = onUnsuspend.bind(this);
|
||||
|
||||
Reference in New Issue
Block a user