loadThemeStyles doesn't have to be async

This commit is contained in:
Red Adaya 2024-04-04 11:08:04 +08:00
parent 8afa62fff2
commit 7a377c4a2a

View File

@ -27,7 +27,7 @@ class StyleBlock extends React.Component<
}
}
async loadThemeStyles() {
loadThemeStyles() {
const { themeKey, termTheme, scope } = this.props;
const currTheme = termTheme[themeKey];