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