Best practice for dealing with mutation function that doesn't error - TanStack