0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +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
};
},
handleClick : function(){
this.props.onClick();
handleClick : function(e){
this.props.onClick(e);
},
render : function(){
const classes = cx('navItem', this.props.color, this.props.className);