mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
20 lines
445 B
TypeScript
20 lines
445 B
TypeScript
import { LatLng } from "leaflet";
|
|
import LiberationMap from "./components/liberationmap";
|
|
import useEventStream from "./hooks/useEventSteam";
|
|
import useInitialGameState from "./hooks/useInitialGameState";
|
|
|
|
function App() {
|
|
const mapCenter: LatLng = new LatLng(25.58, 54.9);
|
|
|
|
useInitialGameState();
|
|
useEventStream();
|
|
|
|
return (
|
|
<div className="App">
|
|
<LiberationMap mapCenter={mapCenter} />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default App;
|