import { createRoot } from "react-dom/client";
import App from "./App.tsx";
import "./index.css";
import { startSyncWorker } from "./lib/syncQueue";

// Start background sync worker (drains pending ops when DB is online)
startSyncWorker();

createRoot(document.getElementById("root")!).render(<App />);
