mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 23:16:54 +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:
1 parent
1cf338b3e1
commit
480c5c3eb6
1 file changed
+2
-2
@@ -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