From 87ffadd255749d2e6e09455f51cff323e12aef8e Mon Sep 17 00:00:00 2001 From: shadcn Date: Mon, 3 Jun 2024 21:22:36 +0400 Subject: [PATCH] fix(www): combobox --- registry/default/example/combobox-demo.tsx | 45 +++++++++++---------- registry/new-york/example/combobox-demo.tsx | 45 +++++++++++---------- 2 files changed, 48 insertions(+), 42 deletions(-) diff --git a/registry/default/example/combobox-demo.tsx b/registry/default/example/combobox-demo.tsx index b16ad8fd7b5..7c988850e61 100644 --- a/registry/default/example/combobox-demo.tsx +++ b/registry/default/example/combobox-demo.tsx @@ -11,6 +11,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from "@/registry/default/ui/command" import { Popover, @@ -63,27 +64,29 @@ export default function ComboboxDemo() { - No framework found. - - {frameworks.map((framework) => ( - { - setValue(currentValue === value ? "" : currentValue) - setOpen(false) - }} - > - - {framework.label} - - ))} - + + No framework found. + + {frameworks.map((framework) => ( + { + setValue(currentValue === value ? "" : currentValue) + setOpen(false) + }} + > + + {framework.label} + + ))} + + diff --git a/registry/new-york/example/combobox-demo.tsx b/registry/new-york/example/combobox-demo.tsx index 43545503a68..86ca85984c8 100644 --- a/registry/new-york/example/combobox-demo.tsx +++ b/registry/new-york/example/combobox-demo.tsx @@ -11,6 +11,7 @@ import { CommandGroup, CommandInput, CommandItem, + CommandList, } from "@/registry/new-york/ui/command" import { Popover, @@ -63,27 +64,29 @@ export default function ComboboxDemo() { - No framework found. - - {frameworks.map((framework) => ( - { - setValue(currentValue === value ? "" : currentValue) - setOpen(false) - }} - > - {framework.label} - - - ))} - + + No framework found. + + {frameworks.map((framework) => ( + { + setValue(currentValue === value ? "" : currentValue) + setOpen(false) + }} + > + {framework.label} + + + ))} + +