0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 16:22:42 +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(){ render : function(){
// Logged in // Logged in
if(global.account){ if(global.account){
return <Nav.dropdown> return <Nav.dropdown className="account">
<Nav.item <Nav.item
className='account username' className='account username'
color='orange' color='orange'

View File

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

View File

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

View File

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