chore: generate
This commit is contained in:
@@ -24,7 +24,8 @@ export function useFilteredList<T>(props: FilteredListProps<T>) {
|
|||||||
const [grouped, { refetch }] = createResource(
|
const [grouped, { refetch }] = createResource(
|
||||||
() => ({
|
() => ({
|
||||||
filter: store.filter,
|
filter: store.filter,
|
||||||
items: typeof props.items === "function"
|
items:
|
||||||
|
typeof props.items === "function"
|
||||||
? props.items.length === 0
|
? props.items.length === 0
|
||||||
? (props.items as () => T[])()
|
? (props.items as () => T[])()
|
||||||
: undefined
|
: undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user