diff --git a/src/lib/components/toast/useMutationsHandler.ts b/src/lib/components/toast/useMutationsHandler.ts index d80897a612..b50c148048 100644 --- a/src/lib/components/toast/useMutationsHandler.ts +++ b/src/lib/components/toast/useMutationsHandler.ts @@ -122,7 +122,9 @@ export const useMutationsHandler = < const mainMutationDesc: GetDescriptionBuilder = { data: mainMutation.mutation?.data, - status: DescriptionBuilderStatus.Success, + status: mainMutation.mutation?.isSuccess + ? DescriptionBuilderStatus.Success + : DescriptionBuilderStatus.Error, name: mainMutation.name, } as GetDescriptionBuilder; const descriptionBuilders = [