From 92bb1065a2b47f8644839a49d35986da60f65cd6 Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 20 Apr 2026 00:42:36 +1000 Subject: [PATCH] fix: cast Linux portal sentinel as ProcessedDesktopSource to fix TS build error --- src/hooks/useScreenRecorder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useScreenRecorder.ts b/src/hooks/useScreenRecorder.ts index 0a1db292..b5867865 100644 --- a/src/hooks/useScreenRecorder.ts +++ b/src/hooks/useScreenRecorder.ts @@ -840,7 +840,7 @@ export function useScreenRecorder(): UseScreenRecorderReturn { const selectedSource = existingSource ?? (platform === "linux" - ? { id: "screen:linux-portal", name: "Linux Portal" } + ? { id: "screen:linux-portal", name: "Linux Portal" } as ProcessedDesktopSource : null); if (!selectedSource) { alert("Please select a source to record");