after updating to nextjs 14 im running into issues with using shadcn ui
Unanswered
American Chinchilla posted this in #help-forum
American ChinchillaOP
./components/Dropdown.tsx:31:6
Type error: 'DropdownMenu' cannot be used as a JSX component.
Its type 'FC<DropdownMenuProps>' is not a valid JSX element type.
29 | }
30 | return (
> 31 | <DropdownMenu>
| ^
32 | <DropdownMenuTrigger asChild>
33 | <Button variant="outline" className="flex gap-2 my-auto">
34 | <Label className="hidden sm:block m-auto">{session.user?.name}</Label>
error: script "build" exited with code 1 (SIGHUP)1 Reply
Barbary Lion
having this same issue as well, anyone have any fix?