diff --git a/client/homebrew/pages/accountPage/accountPage.jsx b/client/homebrew/pages/accountPage/accountPage.jsx index 1aea1c8f3..22bb84dca 100644 --- a/client/homebrew/pages/accountPage/accountPage.jsx +++ b/client/homebrew/pages/accountPage/accountPage.jsx @@ -40,18 +40,22 @@ const AccountPage = createClass({ renderUiItems : function() { // console.log(this.props.uiItems); - return <> -
Username: {this.props.uiItems.username || 'No user currently logged in'}
-Last Login: {this.props.uiItems.issued.toString() || '-'}
- -Brews on Homebrewery: {this.props.uiItems.mongoCount || '-'}
- -Linked to Google: {this.props.uiItems.googleId ? 'YES' : 'NO'}
- {this.props.uiItems.googleId ?Brews on Google Drive: {this.props.uiItems.fileCount || '-'}
: '' } - >; + return [ + <> +Username: {this.props.uiItems.username || 'No user currently logged in'}
+Last Login: {this.props.uiItems.issued.toString() || '-'}
+ >, + <> +Brews on Homebrewery: {this.props.uiItems.mongoCount || '-'}
+ >, + <> +Linked to Google: {this.props.uiItems.googleId ? 'YES' : 'NO'}
+ {this.props.uiItems.googleId ?Brews on Google Drive: {this.props.uiItems.fileCount || '-'}
: '' } + > + ]; }, render : function(){ diff --git a/client/homebrew/pages/basePages/uiPage/uiPage.jsx b/client/homebrew/pages/basePages/uiPage/uiPage.jsx index 3e15ba932..e05303665 100644 --- a/client/homebrew/pages/basePages/uiPage/uiPage.jsx +++ b/client/homebrew/pages/basePages/uiPage/uiPage.jsx @@ -39,7 +39,11 @@ const UIPage = createClass({