TypeError: items is undefined
NextJS 12
97525-01e51dd4c392194a.js:1:5105
NextJS 66
The resource at “https://ui.shadcn
On local:
react-dom.development.js:20702 Uncaught
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at Function.from (<anonymous>)
at A (index.mjs:20:4277)
at U (index.mjs:20:3290)
at eval (index.mjs:20:2050)
at eval (index.mjs:20:13055)
at Map.forEach (<anonymous>)
at eval (index.mjs:20:13044)
at commitHookEffectListMount (
System Info
Mozilla Firefox v 127.0.1 on Macbook M2
Before submitting
[X] I've made research efforts and searched the documentation
Describe the bug
UI breaks with following errors on https://ui.shadcn.com. Not issue with any components.
This happens due to
CommandItem
componentAffected component/components
Dropdown/Select or
CommandItem
.Works fine when h2 or other element is used.
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
On local:
System Info
Before submitting