From ada1c903521bcc43187694d8ed9b9e01a861e5c2 Mon Sep 17 00:00:00 2001 From: Yotam Berkowitz Date: Sun, 15 Jan 2017 21:55:16 +0200 Subject: [PATCH] Fix react example --- examples/timeline/other/usingReact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/timeline/other/usingReact.html b/examples/timeline/other/usingReact.html index ba7bb49f..8c9ade42 100644 --- a/examples/timeline/other/usingReact.html +++ b/examples/timeline/other/usingReact.html @@ -93,7 +93,7 @@ return ReactDOM.render(, element); }, groupTemplate: function (group, element) { - if (!item) { return } + if (!group) { return } ReactDOM.unmountComponentAtNode(element); return ReactDOM.render(, element); }