Skip to content

Commit c065997

Browse files
Copilotmgierschdev
andcommitted
Fix pipeline error - use ChessPieceType.Rock instead of Rook
Co-authored-by: mgierschdev <62764972+mgierschdev@users.noreply.github.com>
1 parent 1d30144 commit c065997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/_client_components/MoveHistory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const MoveHistory: React.FC<MoveHistoryProps> = ({ moves }) => {
2222
switch (pieceType) {
2323
case ChessPieceType.King: return 'K';
2424
case ChessPieceType.Queen: return 'Q';
25-
case ChessPieceType.Rook: return 'R';
25+
case ChessPieceType.Rock: return 'R';
2626
case ChessPieceType.Bishop: return 'B';
2727
case ChessPieceType.Knight: return 'N';
2828
case ChessPieceType.Pawn: return '';

0 commit comments

Comments
 (0)