mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-25 07:16:02 +00:00
fix: cast Linux portal sentinel as ProcessedDesktopSource to fix TS build error
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user