style : typo

This commit is contained in:
GuillaumeSD
2024-04-23 01:54:23 +02:00
parent 599108d447
commit cc46f9cfc5

View File

@@ -222,6 +222,7 @@ export const getIsPieceSacrifice = (
if ( if (
Math.abs(capturedPieces["w"].length - capturedPieces["b"].length) <= 1 && Math.abs(capturedPieces["w"].length - capturedPieces["b"].length) <= 1 &&
capturedPieces["w"].concat(capturedPieces["b"]).every((p) => p === "p") capturedPieces["w"].concat(capturedPieces["b"]).every((p) => p === "p")
) {
return false; return false;
} }