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.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2942,7 +2942,8 @@ var ChessBoard = function ChessBoard(props) {
|
|
|
2942
2942
|
}, [playerColor]);
|
|
2943
2943
|
React.useEffect(function () {
|
|
2944
2944
|
handleUpdateFEN(FEN);
|
|
2945
|
-
|
|
2945
|
+
if (reversed) reverseChessBoard();
|
|
2946
|
+
}, [FEN, reversed]);
|
|
2946
2947
|
React.useEffect(function () {
|
|
2947
2948
|
if (reversed) reverseChessBoard();
|
|
2948
2949
|
}, [reversed]);
|