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