Skip to content

Commit

Permalink
fix incorrect insertion order of stylesheets
Browse files Browse the repository at this point in the history
In the precendences Map every key is prefixed with `p`.
This fixes one case where this is missing.
  • Loading branch information
sokra authored Jan 26, 2024
1 parent 6c64428 commit f0b24ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f0b24ec

Please sign in to comment.