mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 23:12:39 +00:00
Apply to Edit page
This commit is contained in:
@@ -92,9 +92,9 @@ const Nav = {
|
||||
},
|
||||
|
||||
render : function () {
|
||||
const dropdownChildren = React.Children.map(this.props.children, (child, i) => {
|
||||
const dropdownChildren = React.Children.map(this.props.children, (child, i)=>{
|
||||
// Ignore the first child
|
||||
if (i < 1) return;
|
||||
if(i < 1) return;
|
||||
return child;
|
||||
});
|
||||
return (
|
||||
@@ -104,7 +104,7 @@ const Nav = {
|
||||
{this.props.children[0]}
|
||||
{this.renderDropdown(dropdownChildren)}
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user