fix: use replacesync instead of replace

This commit is contained in:
Simon Siefke
2023-07-27 18:33:30 +02:00
parent b225b9a710
commit 5f80fe00d5
+1 -1
View File
@@ -12,7 +12,7 @@ const createCssStyleSheet = (): IStyleSheet => {
document.adoptedStyleSheets.splice(index, 1);
},
setCss(css) {
sheet.replace(css);
sheet.replaceSync(css);
}
};
};