fix: silence state_referenced_locally warning in theme store

This commit is contained in:
2026-03-01 21:07:21 +01:00
parent 87cf51fcda
commit a4f48ec322

View File

@@ -22,7 +22,7 @@ function createTheme() {
if (stored && CYCLE.includes(stored)) {
theme = stored;
}
applyTheme(theme);
applyTheme(stored && CYCLE.includes(stored) ? stored : 'system');
}
return {