Browse Source

Mount on #pitaya div, not body

upgrade-electron
wpetit 4 years ago
parent
commit
d514515d7f
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      src/app.js

+ 2
- 6
src/app.js View File

@@ -15,11 +15,7 @@ var App = React.createClass({

var view = editMode ? <EditView /> : <LauncherView />;

return (
<div id="pitaya">
{view}
</div>
);
return (<div>{view}</div>);

},

@@ -40,5 +36,5 @@ ReactDOM.render(
<App />
</Provider>
,
document.body
document.getElementById('pitaya')
);

Loading…
Cancel
Save