fixup! ✨(frontend) free the meeting layout while a screen share is popped out

This commit is contained in:
Ovgodd
2026-10-07 14:33:06 +02:00
parent c8ab2422ce
commit 5e87c91ba0
@@ -139,6 +139,8 @@ export const StageLayout = () => {
// The popped-out tile is kept mounted below, so nothing else notices when
// the share stops. Close the window here instead.
// The snapshot above is for the layout. Here we read the store itself,
// to get the window that's open at this moment.
useEffect(() => {
const entry = screenSharePopoutStore.entry
if (!entry) return