diff --git a/examples/timeline/other/usingReact.html b/examples/timeline/other/usingReact.html
index f6d1e1f7..ba7bb49f 100644
--- a/examples/timeline/other/usingReact.html
+++ b/examples/timeline/other/usingReact.html
@@ -88,10 +88,12 @@
end: new Date(1000*60*60*24 + (new Date()).valueOf()),
editable: true,
template: function (item, element) {
+ if (!item) { return }
ReactDOM.unmountComponentAtNode(element);
return ReactDOM.render(, element);
},
groupTemplate: function (group, element) {
+ if (!item) { return }
ReactDOM.unmountComponentAtNode(element);
return ReactDOM.render(, element);
}