ywana-core8 0.0.552 → 0.0.553

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.umd.js CHANGED
@@ -2621,7 +2621,7 @@
2621
2621
  setPosition(today);
2622
2622
  }, []);
2623
2623
  React.useEffect(function () {
2624
- if (onChange) {
2624
+ if (position && onChange) {
2625
2625
  var _firstDayOfMonth = position.clone().startOf('month');
2626
2626
 
2627
2627
  var _firstDayOfRange = _firstDayOfMonth.clone().startOf('isoweek');