How to handle search with tanstack query? - TanStack