mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-14 18:00:49 +00:00
fix: cast Linux portal sentinel as ProcessedDesktopSource to fix TS build error
This commit is contained in:
1 parent
8d5a702cad
commit
92bb1065a2
1 file changed
+1
-1
@@ -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