mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
* viewer: break tile inspect into separate entrypoint [#49] * fix tsc
This commit is contained in:
12
app/src/MapView.tsx
Normal file
12
app/src/MapView.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user