mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-25 00:42:57 +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>}
|
{icon && <i className={icon}></i>}
|
||||||
</a>;
|
</a>;
|
||||||
} else {
|
} else {
|
||||||
return <div {...props} className={classes} onClick={onClick} >
|
return <button {...props} className={classes} onClick={onClick} >
|
||||||
{children}
|
{children}
|
||||||
{icon && <i className={icon}></i>}
|
{icon && <i className={icon}></i>}
|
||||||
</div>;
|
</button>;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user