import { useState } from "react"; const defaultPath = "C:/Projects/Roblox"; // change as needed export default function Overlay() { const [dir, setDir] = useState(defaultPath); const [status, setStatus] = useState<"idle" | "watching">("idle"); const start = async () => { try { await (window as any)?.aeBridge?.startWatcher(dir); setStatus("watching"); } catch (e) { console.error(e); } }; const stop = async () => { try { await (window as any)?.aeBridge?.stopWatcher(); setStatus("idle"); } catch (e) { console.error(e); } }; return (