mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-03 18:47:56 +01:00
loadThemeStyles doesn't have to be async
This commit is contained in:
parent
8afa62fff2
commit
7a377c4a2a
@ -27,7 +27,7 @@ class StyleBlock extends React.Component<
|
||||
}
|
||||
}
|
||||
|
||||
async loadThemeStyles() {
|
||||
loadThemeStyles() {
|
||||
const { themeKey, termTheme, scope } = this.props;
|
||||
const currTheme = termTheme[themeKey];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user