https://tanstack.com/query/latest/docs/framework/react/reference/useQueryErrorResetBoundary
useQueryErrorResetBoundary | TanStack Query React Docs
This hook will reset any query errors within the closest QueryErrorResetBoundary. If there is no boundary defined it will reset them globally: tsx import {...
tanstack queryreact docsusequeryerrorresetboundary