0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 06:47:38 +00:00

remove id attribute from component

This commit is contained in:
Gazook89
2026-04-24 10:19:16 -05:00
parent 285522d820
commit c0c4db95a4
+1 -1
View File
@@ -8,7 +8,7 @@ import _ from 'lodash';
// use react context to keep track of the menu depth (menus in menus)
const MenuDepthContext = React.createContext(0);
const Dropdown = ({ groupName, className = null, icon, children, color = null, id, customTrigger, dir = 'right', ...props })=>{
const Dropdown = ({ groupName, className = null, icon, children, color = null, customTrigger, dir = 'right', ...props })=>{
const menuId = `${_.kebabCase(groupName)}-menu`;
const anchorName = `--${menuId}`;
const depth = React.useContext(MenuDepthContext);