How to show loading state only when specific param change - TanStack