Skip to content

The open source coding agent.

TypeScript

chore: generate

GitHub Action067338bc2562
diff --git a/packages/ui/src/hooks/use-filtered-list.tsx b/packages/ui/src/hooks/use-filtered-list.tsx
index e265fffef60..26215e93cb4 100644
--- a/packages/ui/src/hooks/use-filtered-list.tsx
+++ b/packages/ui/src/hooks/use-filtered-list.tsx
@@ -24,11 +24,12 @@ export function useFilteredList<T>(props: FilteredListProps<T>) {
const [grouped, { refetch }] = createResource(
() => ({
filter: store.filter,
- items: typeof props.items === "function"
- ? props.items.length === 0
- ? (props.items as () => T[])()
- : undefined
- : props.items,
+ items:
+ typeof props.items === "function"
+ ? props.items.length === 0
+ ? (props.items as () => T[])()
+ : undefined
+ : props.items,
}),
async ({ filter, items }) => {
const needle = filter?.toLowerCase()