Skip to content

Commit

Permalink
fix: use replacesync instead of replace
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke committed Jul 27, 2023
1 parent b225b9a commit 5f80fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/renderer/dom/StyleSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const createCssStyleSheet = (): IStyleSheet => {
document.adoptedStyleSheets.splice(index, 1);
},
setCss(css) {
sheet.replace(css);
sheet.replaceSync(css);
}
};
};
Expand Down

0 comments on commit 5f80fe0

Please sign in to comment.