react-chessboard-ui 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2939,7 +2939,8 @@ var ChessBoard = function ChessBoard(props) {
2939
2939
  }, [playerColor]);
2940
2940
  useEffect(function () {
2941
2941
  handleUpdateFEN(FEN);
2942
- }, [FEN]);
2942
+ if (reversed) reverseChessBoard();
2943
+ }, [FEN, reversed]);
2943
2944
  useEffect(function () {
2944
2945
  if (reversed) reverseChessBoard();
2945
2946
  }, [reversed]);