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:
Gazook89
2026-08-15 10:36:15 -05:00
parent 1cf338b3e1
commit 480c5c3eb6
+2 -2
View File
@@ -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>;
}
},