import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { invoke } from "@tauri-apps/api/core";
import { delay} from "lodash-es"

async function setup() {
  invoke('set_complete')
}

window.addEventListener("DOMContentLoaded", () => {
  setup();
})


ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
);
