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.modern.js
CHANGED
|
@@ -2939,7 +2939,8 @@ var ChessBoard = function ChessBoard(props) {
|
|
|
2939
2939
|
}, [playerColor]);
|
|
2940
2940
|
useEffect(function () {
|
|
2941
2941
|
handleUpdateFEN(FEN);
|
|
2942
|
-
|
|
2942
|
+
if (reversed) reverseChessBoard();
|
|
2943
|
+
}, [FEN, reversed]);
|
|
2943
2944
|
useEffect(function () {
|
|
2944
2945
|
if (reversed) reverseChessBoard();
|
|
2945
2946
|
}, [reversed]);
|