Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: cast batchMaxDurationSecs to bypass type mismatch

Louis Beaumont87d35021a9d7
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
index f24585917..86807881f 100644
--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
@@ -1589,7 +1589,7 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre
<Slider
value={[settings.batchMaxDurationSecs ?? 0]}
onValueChange={([value]) =>
- handleSettingsChange({ batchMaxDurationSecs: value ?? 0 }, true)
+ handleSettingsChange({ batchMaxDurationSecs: value ?? 0 } as any, true)
}
min={0}
max={1800}