Make UserSettings use the right teamToken

This threads the correct teamToken through to UserSettings for generating the referral section.
This commit is contained in:
Luke Barnard 2017-02-16 18:00:52 +00:00
parent 6945e7c154
commit 406c34b715
2 changed files with 6 additions and 1 deletions

View file

@ -175,6 +175,7 @@ export default React.createClass({
collapsedRhs={this.props.collapse_rhs}
enableLabs={this.props.config.enableLabs}
referralBaseUrl={this.props.config.referralBaseUrl}
teamToken={this.props.teamToken}
/>;
if (!this.props.collapse_rhs) right_panel = <RightPanel opacity={this.props.sideOpacity}/>;
break;