intelicoreact 0.0.73 → 0.0.74

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.
@@ -102,7 +102,7 @@ var InputDateRange = function InputDateRange(props) {
102
102
  setMD = _useState6[1];
103
103
 
104
104
  (0, _react.useEffect)(function () {
105
- if (value && !mountDate) {
105
+ if (value && value.start && !mountDate) {
106
106
  setMD(true);
107
107
  handleChange(_objectSpread({}, value));
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "description": "Date range fixes and dropdown refactor",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -52,7 +52,7 @@ const InputDateRange = props => {
52
52
  const [mountDate, setMD] = useState(false);
53
53
 
54
54
  useEffect(() => {
55
- if (value && !mountDate) {
55
+ if (value && value.start && !mountDate) {
56
56
  setMD(true);
57
57
  handleChange({ ...value });
58
58
  }