mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-15 10:32:45 +00:00
Standardize to className
This commit is contained in:
@@ -51,7 +51,7 @@ const SharePage = createClass({
|
|||||||
return <div className='sharePage sitePage'>
|
return <div className='sharePage sitePage'>
|
||||||
<Meta name='robots' content='noindex, nofollow' />
|
<Meta name='robots' content='noindex, nofollow' />
|
||||||
<Navbar>
|
<Navbar>
|
||||||
<Nav.section classes='titleSection'>
|
<Nav.section className='titleSection'>
|
||||||
<MetadataNav brew={this.props.brew}>
|
<MetadataNav brew={this.props.brew}>
|
||||||
<Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item>
|
<Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item>
|
||||||
</MetadataNav>
|
</MetadataNav>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ const Nav = {
|
|||||||
section : createClass({
|
section : createClass({
|
||||||
displayName : 'Nav.section',
|
displayName : 'Nav.section',
|
||||||
render : function(){
|
render : function(){
|
||||||
return <div className={this.props.classes ? `navSection ${this.props.classes}` : 'navSection'}>
|
return <div className={this.props.className ? `navSection ${this.props.className}` : 'navSection'}>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user