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