mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove async reaction body in ThemeStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
5362e5a593
commit
0d5c1fb6f7
@ -83,7 +83,7 @@ export class ThemeStore extends Singleton {
|
|||||||
autoBind(this);
|
autoBind(this);
|
||||||
|
|
||||||
// auto-apply active theme
|
// auto-apply active theme
|
||||||
reaction(() => this.activeThemeId, async themeId => {
|
reaction(() => this.activeThemeId, themeId => {
|
||||||
try {
|
try {
|
||||||
this.applyTheme(this.getThemeById(themeId));
|
this.applyTheme(this.getThemeById(themeId));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user