experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ipc): cast address to string for type safety

+3 -2
+3 -2
backend/electron/ipc.ts
··· 1917 1917 if (!otherWin.isVisible()) continue; 1918 1918 // Don't hide background windows (check by URL or params) 1919 1919 const otherInfo = getWindowInfo(otherWin.id); 1920 - if (otherInfo?.params?.address?.includes('background.html')) continue; 1921 - if (otherInfo?.params?.address?.includes('extension-host.html')) continue; 1920 + const otherAddress = otherInfo?.params?.address as string | undefined; 1921 + if (otherAddress?.includes('background.html')) continue; 1922 + if (otherAddress?.includes('extension-host.html')) continue; 1922 1923 // Hide and track 1923 1924 otherWin.hide(); 1924 1925 hiddenWindowIds.push(otherWin.id);