How to refetch data from new API? Returns previous value - TanStack