Skip to content

Commit 32e7408

Browse files
chore: setThemeVariables change
1 parent a731d15 commit 32e7408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/controllers/ThemeController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const ThemeController = {
3838
},
3939

4040
setThemeVariables(themeVariables?: ThemeControllerState['themeVariables']) {
41-
if (Object.keys(themeVariables ?? {}).length === 0) {
41+
if (!themeVariables) {
4242
state.themeVariables = {};
4343

4444
return;

0 commit comments

Comments
 (0)