Browse Source

Fix react example

revert-3409-performance
Yotam Berkowitz 8 years ago
parent
commit
ada1c90352
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/timeline/other/usingReact.html

+ 1
- 1
examples/timeline/other/usingReact.html View File

@ -93,7 +93,7 @@
return ReactDOM.render(<ItemTemplate item={item} />, element);
},
groupTemplate: function (group, element) {
if (!item) { return }
if (!group) { return }
ReactDOM.unmountComponentAtNode(element);
return ReactDOM.render(<GroupTemplate group={group} />, element);
}

Loading…
Cancel
Save