Commit 6174b74
committed
Fix profile menu crash on Headless UI Menu.Item
Menu.Item was rendering a Fragment which Headless UI cannot attach
props to (id, role, tabIndex, event handlers). Added as="div" to
render an actual element.1 parent 1561367 commit 6174b74
1 file changed
Lines changed: 5 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
0 commit comments