From d514515d7fa3f4fdfdc781a6cb5ba75722248c5b Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 3 Mar 2016 10:34:07 +0100 Subject: [PATCH] Mount on #pitaya div, not body --- src/app.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/app.js b/src/app.js index 1498abb..0902a69 100644 --- a/src/app.js +++ b/src/app.js @@ -15,11 +15,7 @@ var App = React.createClass({ var view = editMode ? : ; - return ( -
- {view} -
- ); + return (
{view}
); }, @@ -40,5 +36,5 @@ ReactDOM.render( , - document.body + document.getElementById('pitaya') );