Skip to content

Commit

Permalink
fixes incorrect boolean logic around loading states for stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff committed Oct 27, 2023
1 parent 97047a8 commit 7292090
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ function preinitStyle(
getStylesheetSelectorFromKey(key),
);
if (instance) {
state.loading = Loaded & Inserted;
state.loading = Loaded | Inserted;
} else {
// Construct a new instance and insert it
const stylesheetProps = Object.assign(
Expand Down

0 comments on commit 7292090

Please sign in to comment.