-
Notifications
You must be signed in to change notification settings - Fork 820
Closed
Description
I get this error if I use the disabled
prop for Menu.Item
and if all menu items in a Menu.Group
are disabled. Can we remove this line of code?
evergreen/src/menu/src/Menu.js
Line 29 in 29f9c41
throw new Error('The menu has no menu items') |
Maybe instead return?
I can submit a pr if this is the correct solution
Metadata
Metadata
Assignees
Labels
No labels