feat(ui): invocation error toasts do not autoclose

This commit is contained in:
psychedelicious 2024-05-22 05:53:45 +10:00
parent 29e1ea59fc
commit 624d28a93d

View File

@ -33,6 +33,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe
id: 'INVOCATION_ERROR',
title: t('toast.outOfMemoryError'),
status: 'error',
duration: null,
description: ToastWithSessionRefDescription({
message: t('toast.outOfMemoryDescription'),
sessionId,
@ -43,6 +44,7 @@ export const addInvocationErrorEventListener = (startAppListening: AppStartListe
id: `INVOCATION_ERROR_${errorType}`,
title: t('toast.serverError'),
status: 'error',
duration: null,
description: ToastWithSessionRefDescription({
message: errorType,
sessionId,