diff --git a/client/homebrew/pages/accountPage/accountPage.jsx b/client/homebrew/pages/accountPage/accountPage.jsx index 2154956e9..f4aecae49 100644 --- a/client/homebrew/pages/accountPage/accountPage.jsx +++ b/client/homebrew/pages/accountPage/accountPage.jsx @@ -18,7 +18,7 @@ const AccountPage = createClass({ getDefaultProps : function() { return { brew : {}, - uiItems : [] + uiItems : {} }; }, getInitialState : function() { @@ -39,14 +39,14 @@ const AccountPage = createClass({ }, renderUiItems : function() { - // console.log(JSON.stringify(this.props.uiItems)); + // console.log(this.props.uiItems); return <>
Username: {this.props.uiItems.username || 'No user currently logged in'}
-Last Login: {this.props.uiItems.issued || '-'}
+Last Login: {this.props.uiItems.issued.toString() || '-'}
-Brews on MongoDB: {this.props.uiItems.mongoCount || '-'}
+Brews on Homebrewery: {this.props.uiItems.mongoCount || '-'}
Linked to Google: {this.props.uiItems.googleId ? 'YES' : 'NO'}
@@ -55,7 +55,7 @@ const AccountPage = createClass({ }, render : function(){ - returnThis is some test text.
- > + renderUiItems : ()=>{ + return <> +This is some test text.
+ >; + } }; }, @@ -37,7 +39,7 @@ const UIPage = createClass({