Files
PMTiles/app/src/MapView.tsx
Brandon Liu 08b2c5e3b1 viewer: break tile inspect into separate entrypoint [#49] (#379)
* viewer: break tile inspect into separate entrypoint [#49]

* fix tsc
2024-03-15 12:44:43 +08:00

13 lines
295 B
TypeScript

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>
);
}