Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/base/src/ManagedStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const shouldUpdate = (runtimeIndex: string | undefined) => {
if (runtimeIndex === undefined) {
return true;
}
return compareRuntimes(getCurrentRuntimeIndex(), parseInt(runtimeIndex)) === 1; // 1 means the current is newer, 0 means the same, -1 means the resource's runtime is newer
return compareRuntimes(getCurrentRuntimeIndex(), parseInt(runtimeIndex)) >= 1; // 1 or larger means the current is newer, 0 means the same, -1 means the resource's runtime is newer
};

const createStyle = (content: string, name: string, value = "", theme?: string) => {
Expand Down
Loading