This commit is contained in:
7w1 committed 2026-04-04 02:33:57 -05:00
1 parent 30ae4011bd
commit 4b17220f16
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -9,6 +9,7 @@ const settings = {
saturationLevel: 100,
underlineLinks: false,
reducedMotion: false,
themeRemoteEnabledTweakFullUrls: [] as string[],
};
let systemThemeKind = ThemeKind.Light;
@@ -68,6 +69,7 @@ beforeEach(() => {
settings.saturationLevel = 100;
settings.underlineLinks = false;
settings.reducedMotion = false;
settings.themeRemoteEnabledTweakFullUrls = [];
document.body.className = '';
document.body.style.filter = '';
});
+1 -1
View File
@@ -118,7 +118,7 @@ export function AuthRouteThemeManager({ children }: { children: ReactNode }) {
}, [activeTheme.remoteFullUrl]);
useEffect(() => {
const urls = enabledTweakUrls.filter((u) => u.trim().length > 0);
const urls = (enabledTweakUrls ?? []).filter((u) => u.trim().length > 0);
let cancelled = false;
if (urls.length === 0) {