@@ -186,19 +193,23 @@ function CreateDialog({
{error && {error}
}
-
+
+ No matching lexicons.
- No matching lexicons.
- {recordLexicons.map((id) => (
-
- {id}
+ {(item: string) => (
+
+ {item}
- ))}
+ )}
diff --git a/web/src/components/ui/combobox.tsx b/web/src/components/ui/combobox.tsx
index 2f9df6d..03f3e52 100644
--- a/web/src/components/ui/combobox.tsx
+++ b/web/src/components/ui/combobox.tsx
@@ -102,28 +102,28 @@ function ComboboxContent({
ComboboxPrimitive.Positioner.Props,
"side" | "align" | "sideOffset" | "alignOffset" | "anchor"
>) {
- return (
-
-
-
-
-
+ const content = (
+
+
+
)
+
+ return {content}
}
function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props) {