select() receives inconsistent arguments - TanStack