react-chessboard-ui 1.4.1 → 1.4.2
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 +0 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +0 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2574,7 +2574,6 @@ var useChessBoardInteractive = function useChessBoardInteractive(props) {
|
|
|
2574
2574
|
var handleChangeFromExternal = function handleChangeFromExternal(moveData) {
|
|
2575
2575
|
var _moveFigureByExternal = moveFigureByExternalChange(moveData.from, moveData.to, moveData.figure),
|
|
2576
2576
|
attackedPos = _moveFigureByExternal.attackedPos;
|
|
2577
|
-
onChange(moveData);
|
|
2578
2577
|
setAnimated(true);
|
|
2579
2578
|
var change = {
|
|
2580
2579
|
move: moveData,
|