import { observer } from "mobx-react-lite"; import { MenuView } from "./MenuView"; import { state } from "../state"; import { Panel } from "./Panel"; export const LeftPanel = observer(function () { const isGame = state.game && !state.game.isPaused; if (isGame) return null; // function handleLoadWorld(): void { // state.world.load(); // } function handleLoadMockWorld(): void { state.world.loadMock(); } return
{/* */} ; });