0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 07:22:44 +00:00

fix undefined class

This commit is contained in:
Víctor Losada Hernández
2024-02-27 22:12:32 +01:00
parent b5301ff978
commit 1d317788fe
4 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ const Account = createClass({
render : function(){
// Logged in
if(global.account){
return <Nav.dropdown>
return <Nav.dropdown className="account">
<Nav.item
className='account username'
color='orange'

View File

@@ -6,7 +6,7 @@ const dedent = require('dedent-tabs').default;
const Nav = require('naturalcrit/nav/nav.jsx');
module.exports = function(props){
return <Nav.dropdown>
return <Nav.dropdown className="help">
<Nav.item color='grey' icon='fas fa-question-circle'>
need help?
</Nav.item>

View File

@@ -362,7 +362,7 @@ const EditPage = createClass({
}
<NewBrew />
<HelpNavItem/>
<Nav.dropdown>
<Nav.dropdown className="share">
<Nav.item color='teal' icon='fas fa-share-alt'>
share
</Nav.item>

View File

@@ -60,7 +60,7 @@ const SharePage = createClass({
<Nav.section>
{this.props.brew.shareId && <>
<PrintLink shareId={this.processShareId()} />
<Nav.dropdown>
<Nav.dropdown className="source">
<Nav.item color='red' icon='fas fa-code'>
source
</Nav.item>