diff --git a/src/client/components/Controls.tsx b/src/client/components/Controls.tsx index efbdfc4..589dcc4 100644 --- a/src/client/components/Controls.tsx +++ b/src/client/components/Controls.tsx @@ -1,7 +1,9 @@ +import { useState } from "react"; import type { LaneId } from "../../shared/custom.ts"; import type { Region } from "../../shared/schema.ts"; import { REGION_LABEL } from "../../shared/time.ts"; import { useGameMeta } from "../state/gameMeta.tsx"; +import { moveGame } from "../state/gameOrder.ts"; import type { ThemeChoice } from "../state/theme.ts"; import type { Prefs } from "../state/usePrefs.ts"; import { YourOwn } from "./YourOwn.tsx"; @@ -72,31 +74,19 @@ export function Controls({ you came to change. */}
-

Games

-
- {games.map((id) => { - const game = gameMeta(id); - const on = !prefs.hiddenGames.includes(id); - return ( - - ); - })} -
+