mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-29 06:52:41 +00:00
Standardize to className
This commit is contained in:
@@ -51,7 +51,7 @@ const SharePage = createClass({
|
||||
return <div className='sharePage sitePage'>
|
||||
<Meta name='robots' content='noindex, nofollow' />
|
||||
<Navbar>
|
||||
<Nav.section classes='titleSection'>
|
||||
<Nav.section className='titleSection'>
|
||||
<MetadataNav brew={this.props.brew}>
|
||||
<Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item>
|
||||
</MetadataNav>
|
||||
|
||||
@@ -29,7 +29,7 @@ const Nav = {
|
||||
section : createClass({
|
||||
displayName : 'Nav.section',
|
||||
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}
|
||||
</div>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user