mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-20 16:42:58 +00:00
update div to button.
conflict resolution with #4932-- preserves the intention of that PR, but with new structure of this PR.
This commit is contained in:
@@ -33,10 +33,10 @@ const Nav = {
|
||||
{icon && <i className={icon}></i>}
|
||||
</a>;
|
||||
} else {
|
||||
return <div {...props} className={classes} onClick={onClick} >
|
||||
return <button {...props} className={classes} onClick={onClick} >
|
||||
{children}
|
||||
{icon && <i className={icon}></i>}
|
||||
</div>;
|
||||
</button>;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user