Simple question regarding redirecting on error - TanStack