From 0deca79bc3e64921c1415cdf77cefa5a085ec11c Mon Sep 17 00:00:00 2001 From: Julian Steinwachs Date: Sat, 23 Jan 2016 13:43:02 +0100 Subject: [PATCH] upgrade to react-router 2.0 WIP --- jsx/App.js | 38 +++++++++++++++++--------------------- jsx/profile/Profile.js | 5 +---- 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/jsx/App.js b/jsx/App.js index 389456e..c824da4 100755 --- a/jsx/App.js +++ b/jsx/App.js @@ -239,11 +239,7 @@ App = React.createClass({
- + {this.props.children} @@ -258,24 +254,24 @@ initializeApp = function () { ReactDOM.render(( - - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + ), document.getElementById('content')); diff --git a/jsx/profile/Profile.js b/jsx/profile/Profile.js index c50b25d..1b3879d 100755 --- a/jsx/profile/Profile.js +++ b/jsx/profile/Profile.js @@ -91,10 +91,7 @@ module.exports = Post = React.createClass({ - + {this.props.children} ); }