diff --git a/src/api/Themes.ts b/src/api/Themes.ts index b0ecc9d65..0907cdce7 100644 --- a/src/api/Themes.ts +++ b/src/api/Themes.ts @@ -92,6 +92,7 @@ function applyToPopout(popoutWindow: Window | undefined) { } function updatePopoutWindows() { + if (!PopoutWindowStore) return; const windowKeys = PopoutWindowStore.getWindowKeys(); for (const key of windowKeys) { const popoutWindow = PopoutWindowStore.getWindow(key);