0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 08:42:42 +00:00

Fixing a distributing problem

This commit is contained in:
Scott Tolksdorf
2016-04-05 23:07:29 -04:00
parent cb5b63429e
commit 62b9400df1
6 changed files with 27 additions and 20 deletions

View File

@@ -33,7 +33,6 @@ var SheetRenderer = React.createClass({
})
},
renderSheet : function(){
try{
var nodes = jsx2json(this.props.code);
nodes = _.map(nodes, (node)=>{
@@ -43,8 +42,6 @@ var SheetRenderer = React.createClass({
}
return node
})
return this.renderChildren(nodes);
}catch(e){
return <div>Error bruh {e.toString()}</div>