diff --git a/build/app-bundle.js b/build/app-bundle.js index dcfc50b..faf3cb7 100644 --- a/build/app-bundle.js +++ b/build/app-bundle.js @@ -57,6 +57,7 @@ App = React.createClass({displayName: "App", SafeStateChangeMixin, EventListenerMixin('newaccountbyuser'), EventListenerMixin('accountremovedbyuser')], + getInitialState: function () { var state={}; @@ -230,7 +231,6 @@ App = React.createClass({displayName: "App", ); } - return ( React.createElement(Grid, null, @@ -265,7 +265,7 @@ App = React.createClass({displayName: "App", this.props.children && React.cloneElement(this.props.children, { accounts:this.state.accounts, activeAccount:this.state.activeAccount, - key:this.state.activeAccount + key: this.props.location.pathname }) ) ) diff --git a/jsx/App.js b/jsx/App.js index 48664fe..211c57b 100755 --- a/jsx/App.js +++ b/jsx/App.js @@ -56,6 +56,7 @@ App = React.createClass({ SafeStateChangeMixin, EventListenerMixin('newaccountbyuser'), EventListenerMixin('accountremovedbyuser')], + getInitialState: function () { var state={}; @@ -229,7 +230,6 @@ App = React.createClass({ ); } - return ( @@ -264,7 +264,7 @@ App = React.createClass({ {this.props.children && React.cloneElement(this.props.children, { accounts:this.state.accounts, activeAccount:this.state.activeAccount, - key:this.state.activeAccount + key: this.props.location.pathname })}