Skip to content

Commit

Permalink
[Float][Fiber] Fixes incorrect boolean logic around loading states fo…
Browse files Browse the repository at this point in the history
…r stylesheets (facebook#27610)

the loading states of stylesheets found in the DOM during preinit should
be assumed to be loaded
gnoff authored Oct 27, 2023
1 parent 8039e6d commit 3e09c27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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(

0 comments on commit 3e09c27

Please sign in to comment.