Skip to content

Commit

Permalink
bug(list) fix duplicated items
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol committed Oct 17, 2023
1 parent 209bdf2 commit a67e93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useDebouncedSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ export const useDebouncedSearch: UseDebouncedSearch = (searchQuery, loading) =>
}
}, [debouncedSearch])

return { debouncedSearch: debouncedSearch || undefined, isLoading: isLoading || false }
return { debouncedSearch: debouncedSearch || undefined, isLoading: isLoading || loading || false }
}

0 comments on commit a67e93b

Please sign in to comment.