elifTech / treeview-react-bootstrap

http://eliftech.github.io/treeview-react-bootstrap
MIT License
17 stars 11 forks source link

.map is not a function #9

Closed pozylon closed 6 years ago

pozylon commented 8 years ago

Uncaught TypeError: node.nodes.map is not a function NPM web pack build is not converting to es5.

jimrushPersonal commented 7 years ago

For others that get this error, the data structure being provided to the preview is probably not in the documented format. In my case, the value was an object, not an array (ie a single node).