diff --git a/src/renderer/components/toast/index.tsx b/src/renderer/components/toast/index.tsx index 8eb68c2b9..6a4b5d187 100644 --- a/src/renderer/components/toast/index.tsx +++ b/src/renderer/components/toast/index.tsx @@ -61,12 +61,12 @@ const showToast = ({ type, ...props }: NotificationProps) => { export const toast = { clean: cleanNotifications, cleanQueue: cleanNotificationsQueue, - error: (props: NotificationProps) => showToast({ type: 'success', ...props }), + error: (props: NotificationProps) => showToast({ type: 'error', ...props }), hide: hideNotification, - info: (props: NotificationProps) => showToast({ type: 'success', ...props }), + info: (props: NotificationProps) => showToast({ type: 'info', ...props }), show: showToast, success: (props: NotificationProps) => showToast({ type: 'success', ...props }), update: updateNotification, - warn: (props: NotificationProps) => showToast({ type: 'success', ...props }), + warn: (props: NotificationProps) => showToast({ type: 'warning', ...props }), };