viewer: break tile inspect into separate entrypoint [#49] (#379)

* viewer: break tile inspect into separate entrypoint [#49]

* fix tsc
This commit is contained in:
Brandon Liu
2024-03-15 12:44:43 +08:00
committed by GitHub
parent 1527d57d23
commit 08b2c5e3b1
7 changed files with 70 additions and 11 deletions

12
app/src/MapView.tsx Normal file
View File

@@ -0,0 +1,12 @@
import React from "react";
import reactDom from "react-dom/client";
import MapViewComponent from "./MapViewComponent";
const root = document.getElementById("root");
if (root) {
reactDom.createRoot(root).render(
<React.StrictMode>
<MapViewComponent />
</React.StrictMode>
);
}