@samitouri / QOS-React-2 / commits / 763612647c

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. -->

Tobias Koppers committed Jan 26, 2024 at 16:54 UTC 763612647ceb66d95f728af896ca5e18a8181db8
1 file changed +1 -1
packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js
+1 -1
@@ -3559,7 +3559,7 @@ function insertStylesheetIntoRoot(
3559 if (prior === last) {
3560 precedences.set('last', instance);
3561 }
3562 - precedences.set(precedence, instance);
3562 + precedences.set('p' + precedence, instance);
3563
3564 this.count++;
3565 const onComplete = onUnsuspend.bind(this);