feat : new move classification icons

This commit is contained in:
GuillaumeSD
2025-05-24 23:56:24 +02:00
parent 05b1736aa4
commit b1a3239676
14 changed files with 14 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ export default function GameDatabase() {
if (typeof id !== "number") {
throw new Error("Unable to copy game");
}
await navigator.clipboard.writeText(games[id - 1].pgn);
await navigator.clipboard?.writeText?.(games[id - 1].pgn);
},
[games]
);