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.cjs CHANGED
@@ -2627,7 +2627,7 @@ var Calendar = function Calendar(props) {
2627
2627
  setPosition(today);
2628
2628
  }, []);
2629
2629
  React.useEffect(function () {
2630
- if (onChange) {
2630
+ if (position && onChange) {
2631
2631
  var _firstDayOfMonth = position.clone().startOf('month');
2632
2632
 
2633
2633
  var _firstDayOfRange = _firstDayOfMonth.clone().startOf('isoweek');