0
0
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:
G.Ambatte
2023-03-19 18:40:38 +13:00
parent bd4c24df46
commit 807ab2a538
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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>;
}