"use client"; import { useRef, useState } from "react"; import { Download, Loader2 } from "lucide-react"; import { toast } from "sonner"; export function VideoArchiveButton({ url, automaticBusy = false, onSaved }: { url: string; automaticBusy?: boolean; onSaved: (url: string) => void }) { const running = useRef(false); const [busy, setBusy] = useState(false); return ; }