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:
@@ -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'
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user