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 build

Louis Beaumontf7e7eaed1b91
diff --git a/screenpipe-app-tauri/components/model-download-tracker.tsx b/screenpipe-app-tauri/components/model-download-tracker.tsx
index bcc0aa65c..f18575b56 100644
--- a/screenpipe-app-tauri/components/model-download-tracker.tsx
+++ b/screenpipe-app-tauri/components/model-download-tracker.tsx
@@ -15,6 +15,8 @@ export function ModelDownloadTracker() {
const [downloadProgress, setDownloadProgress] = useState<
Record<string, number>
>({});
+ const [ffmpegInstalling, setFfmpegInstalling] = useState(false);
+ const [ffmpegToastRef, setFfmpegToastRef] = useState<any>(null);
// Update progress on a timer for active downloads
useEffect(() => {
@@ -81,8 +83,6 @@ export function ModelDownloadTracker() {
// ffmpeg installation patterns
const ffmpegStartPattern = /ffmpeg not found\. installing/i;
const ffmpegEndPattern = /ffmpeg (installed|ready)/i;
- const [ffmpegInstalling, setFfmpegInstalling] = useState(false);
- const [ffmpegToastRef, setFfmpegToastRef] = useState<any>(null);
// Function to extract model name from log line
const getModelName = (