Rewrite popup in react

This commit is contained in:
Ajay
2025-06-02 04:11:52 -04:00
parent d7db6d58c5
commit e4a050f905
14 changed files with 1446 additions and 208 deletions

13
src/popup/popup.tsx Normal file
View File

@@ -0,0 +1,13 @@
import * as React from "react";
import { createRoot } from "react-dom/client";
import { PopupComponent } from "./PopupComponent";
import { waitFor } from "../../maze-utils/src";
import Config from "../config";
document.addEventListener("DOMContentLoaded", async () => {
await waitFor(() => Config.isReady());
const root = createRoot(document.body);
root.render(<PopupComponent/>);
})