From b12ef61edfea49cc41bc03977967e2df9394df2c Mon Sep 17 00:00:00 2001 From: xu shuai Date: Thu, 23 Jul 2015 14:46:50 +0800 Subject: [PATCH] Fix bug [L64](https://github.com/jonmiles/react-bootstrap-treeview/blob/master/src/react-bootstrap-treeview.jsx#L64) add one line ```js var data = this.props.data; ``` --- src/react-bootstrap-treeview.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/react-bootstrap-treeview.jsx b/src/react-bootstrap-treeview.jsx index e65fedf..4f9dbba 100644 --- a/src/react-bootstrap-treeview.jsx +++ b/src/react-bootstrap-treeview.jsx @@ -61,7 +61,7 @@ var TreeView = React.createClass({ }, render: function() { - + var data = this.props.data; this.setNodeId({ nodes: data }); var children = []; @@ -229,4 +229,4 @@ var TreeNode = React.createClass({ ); } -}); \ No newline at end of file +});