-
-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Describe the bug
When opening the page that uses @headless-tree/react, the application immediately throws a runtime error in the browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'hotkey')
at getDefaultLabel (@headless-tree_react.js?v=cc75ad49:37:44)
at AssistiveTreeDescription (@headless-tree_react.js?v=cc75ad49:56:171)
at react-stack-bottom-frame (react-dom_client.js?v=cc75ad49:17424:20)
at renderWithHooks (react-dom_client.js?v=cc75ad49:4206:24)
at updateFunctionComponent (react-dom_client.js?v=cc75ad49:6619:21)
at beginWork (react-dom_client.js?v=cc75ad49:7654:20)
at runWithFiberInDEV (react-dom_client.js?v=cc75ad49:1485:72)
at performUnitOfWork (react-dom_client.js?v=cc75ad49:10868:98)
at workLoopSync (react-dom_client.js?v=cc75ad49:10728:43)
at renderRootSync (react-dom_client.js?v=cc75ad49:10711:13)
To Reproduce
https://github.com/francesc79/test-mainmenu
npm i && npm run dev
Expected behavior
No error