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