@oddle.me/react-calendar-timeline 0.29.10 → 0.29.11

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.
@@ -404,7 +404,7 @@ function (_Component) {
404
404
  });
405
405
 
406
406
  _defineProperty(_assertThisInitialized(_this), "isTimelineHeader", function (child) {
407
- if (child.type === undefined) return false;
407
+ if (!child || child.type === undefined) return false;
408
408
  return child.type.secretKey === _TimelineHeaders["default"].secretKey;
409
409
  });
410
410
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddle.me/react-calendar-timeline",
3
- "version": "0.29.10",
3
+ "version": "0.29.11",
4
4
  "description": "react calendar timeline",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/global.d.ts",