This commit is contained in:
Maciej Caderek
2022-02-07 22:01:15 +01:00
parent f2d6c080d4
commit b023294db0
8 changed files with 143 additions and 37 deletions

View File

@@ -1,10 +1,9 @@
import type { Component } from "solid-js";
import type { DeepReadonly } from "solid-js/store";
import Moves from "./components/Moves";
import Controls from "./components/Controls";
import Load from "./components/Load";
import { Handlers } from "../types";
import { State } from "../state";
import GameTabs from "./components/GameTabs";
import "./app.css";
@@ -19,8 +18,10 @@ const App: Component<{ handlers: Handlers; state: DeepReadonly<State> }> = (
<Controls handlers={props.handlers}></Controls>
</div>
<div id="moves" class="moves-box">
{/* <Moves moves={props.state.moves} handlers={props.handlers}></Moves> */}
<Load></Load>
<GameTabs
moves={props.state.moves}
handlers={props.handlers}
></GameTabs>
</div>
</div>
);