victory-chart 36.5.2 → 36.5.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/victory-chart.js
CHANGED
|
@@ -14825,7 +14825,7 @@ var useAnimationState = function () {
|
|
|
14825
14825
|
}, [_setState]); // This is a copy of Wrapper.getAnimationProps
|
|
14826
14826
|
|
|
14827
14827
|
var getAnimationProps = react__WEBPACK_IMPORTED_MODULE_2___default().useCallback(function (props, child, index) {
|
|
14828
|
-
if (!props.animate) {
|
|
14828
|
+
if (!(props !== null && props !== void 0 && props.animate)) {
|
|
14829
14829
|
return child.props.animate;
|
|
14830
14830
|
}
|
|
14831
14831
|
|
|
@@ -14858,7 +14858,7 @@ var useAnimationState = function () {
|
|
|
14858
14858
|
}, [state, setState]); // This is a copy of Wrapper.setAnimationState
|
|
14859
14859
|
|
|
14860
14860
|
var setAnimationState = react__WEBPACK_IMPORTED_MODULE_2___default().useCallback(function (props, nextProps) {
|
|
14861
|
-
if (!props.animate) {
|
|
14861
|
+
if (!props || !props.animate) {
|
|
14862
14862
|
return;
|
|
14863
14863
|
}
|
|
14864
14864
|
|