style render move times toggle

This commit is contained in:
2026-06-02 13:11:13 +02:00
parent 2805bd74df
commit 401ac760cf
5 changed files with 91 additions and 9 deletions
+6
View File
@@ -67,11 +67,16 @@ export const useChessGame = () => {
};
const handleToggleClock = () => {
console.log("Toggle clock");
gameDispatch({
type: "TOGGLE_DIAGRAM_CLOCK",
});
};
const handleToggleDiagram = () => {
console.log("Toggle diagram");
};
return {
gameState,
fileInputRef,
@@ -80,5 +85,6 @@ export const useChessGame = () => {
handleClearGame,
handleLoadPgn,
handleToggleClock,
handleToggleDiagram,
};
};