0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 18:22:42 +00:00

Fix class => className

This commit is contained in:
G.Ambatte
2022-09-25 23:20:03 +13:00
parent 4f154922c0
commit 9135ca1e43

View File

@@ -41,14 +41,14 @@ const AccountPage = createClass({
uiItems : function() {
// console.log(JSON.stringify(this.props.uiItems));
const result = <>
<h1>Account Information <i class="fas fa-user"></i></h1>
<h1>Account Information <i className='fas fa-user'></i></h1>
<p><strong>Username: </strong> {this.props.uiItems.username || 'No user currently logged in'}</p>
<p><strong>Last Login: </strong> {this.props.uiItems.issued || '-'}</p>
<p></p>
<h3>MongoDB Information</h3>
<p><strong>Brews on MongoDB: </strong> {this.props.uiItems.mongoCount || '-'}</p>
<p></p>
<h3>Google Information <i class="fa-brands fa-google-drive"></i></h3>
<h3>Google Information <i className='fa-brands fa-google-drive'></i></h3>
<p><strong>Linked to Google: </strong> {this.props.uiItems.googleId ? 'YES' : 'NO'}</p>
{this.props.uiItems.googleId ? <p><strong>Brews on Google Drive: </strong> {this.props.uiItems.fileCount || '-'}</p> : '' }
</>;