From 41a251c2aca04be9bee0acd898e4de7f52086982 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 21 May 2023 07:18:41 -0700 Subject: [PATCH] Decrease toast durations --- src/renderer/components/toast/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/toast/index.tsx b/src/renderer/components/toast/index.tsx index b71b4988..f9fd3456 100644 --- a/src/renderer/components/toast/index.tsx +++ b/src/renderer/components/toast/index.tsx @@ -30,7 +30,7 @@ const showToast = ({ type, ...props }: NotificationProps) => { ? 'Error' : 'Info'; - const defaultDuration = type === 'error' ? 4000 : 2000; + const defaultDuration = type === 'error' ? 2000 : 1000; return showNotification({ autoClose: defaultDuration,