fix : don't show best move for brilliant and great

This commit is contained in:
GuillaumeSD
2024-03-10 18:00:39 +01:00
parent dbefd0b844
commit 9b28a0557a

View File

@@ -29,7 +29,9 @@ export default function MoveInfo() {
const bestMoveLabel = const bestMoveLabel =
moveClassification === MoveClassification.Best || moveClassification === MoveClassification.Best ||
moveClassification === MoveClassification.Book moveClassification === MoveClassification.Book ||
moveClassification === MoveClassification.Brilliant ||
moveClassification === MoveClassification.Great
? null ? null
: `${bestMoveSan} was the best move`; : `${bestMoveSan} was the best move`;