From 64f0205f97dee21a00a654013454055fedd1a824 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 12 Jan 2026 21:27:36 +0000 Subject: chore: generate --- packages/ui/src/hooks/use-filtered-list.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'packages/ui/src') diff --git a/packages/ui/src/hooks/use-filtered-list.tsx b/packages/ui/src/hooks/use-filtered-list.tsx index 11bc35548..b6bd7d5c6 100644 --- a/packages/ui/src/hooks/use-filtered-list.tsx +++ b/packages/ui/src/hooks/use-filtered-list.tsx @@ -24,10 +24,11 @@ export function useFilteredList(props: FilteredListProps) { const [grouped, { refetch }] = createResource( () => { // When items is a function (not async filter function), call it to track changes - const itemsValue = typeof props.items === "function" - ? (props.items as () => T[])() // Call synchronous function to track it - : props.items - + const itemsValue = + typeof props.items === "function" + ? (props.items as () => T[])() // Call synchronous function to track it + : props.items + return { filter: store.filter, items: itemsValue, -- cgit v1.2.3