closer
This commit is contained in:
@@ -15,7 +15,17 @@ export default () => {
|
||||
<Suspense>
|
||||
<div style={{ padding: "20px" }}>
|
||||
<h1 style={{ margin: 0 }}>{param.game}</h1>
|
||||
<button onClick={() => null}>New Game</button>
|
||||
<button
|
||||
onClick={() =>
|
||||
api.simple.newGame
|
||||
.post({
|
||||
players: ["daniel"],
|
||||
})
|
||||
.then(refetch)
|
||||
}
|
||||
>
|
||||
New Game
|
||||
</button>
|
||||
<ul>
|
||||
<For each={instances() ?? []}>
|
||||
{(instance) => (
|
||||
|
||||
Reference in New Issue
Block a user