front: compilation warning

This commit is contained in:
djmil 2023-10-27 14:02:01 +02:00
parent b6994554b3
commit 984acda704

View File

@ -21,13 +21,13 @@ export default function GameSelector() {
dispatchCtx({ component: "game-selector", selectedGameProposal: selectedGame }) dispatchCtx({ component: "game-selector", selectedGameProposal: selectedGame })
} }
const onClick_active = (selectedGame) => { // const onClick_active = (selectedGame) => {
dispatchCtx({ component: "game-selector", selectedActiveGame: selectedGame }) // dispatchCtx({ component: "game-selector", selectedActiveGame: selectedGame })
} // }
const onClick_archive = (selectedGame) => { // const onClick_archive = (selectedGame) => {
dispatchCtx({ component: "game-selector", selectedArchiveGame: selectedGame }) // dispatchCtx({ component: "game-selector", selectedArchiveGame: selectedGame })
} // }
if (!data.games) if (!data.games)
return <div>Loading..</div> return <div>Loading..</div>