0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 14:52:38 +00:00

Merge pull request #3513 from naturalcrit/propagateEventsToNavButtons

Pass click events to click handler on Nav items
This commit is contained in:
Trevor Buckner
2024-06-04 10:24:14 -04:00
committed by GitHub

View File

@@ -47,8 +47,8 @@ const Nav = {
color : null color : null
}; };
}, },
handleClick : function(){ handleClick : function(e){
this.props.onClick(); this.props.onClick(e);
}, },
render : function(){ render : function(){
const classes = cx('navItem', this.props.color, this.props.className); const classes = cx('navItem', this.props.color, this.props.className);