fix : don't show best move for brilliant and great
This commit is contained in:
@@ -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`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user