0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 23:52:40 +00:00

Fixed comment showing up on page

This commit is contained in:
Trevor Buckner
2022-03-01 09:30:56 -05:00
parent 8e0629062d
commit 297365407b
2 changed files with 1 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ const Nav = {
onMouseEnter={this.props.trigger == 'hover' ? ()=>{this.handleDropdown(true);} : undefined}
onClick= {this.props.trigger == 'click' ? ()=>{this.handleDropdown(true);} : undefined}
onMouseLeave={()=>this.handleDropdown(false)}>
{this.props.children[0] || this.props.children} //children is not an array when only one child
{this.props.children[0] || this.props.children /*children is not an array when only one child*/}
{this.renderDropdown(dropdownChildren)}
</div>
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB