From eb4d099804b21ab1a5812ddc5ef4ef5c7c010518 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Mon, 12 Feb 2024 14:04:19 -0800 Subject: [PATCH] Increase toast duration defaults --- 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 088616f1..c4b37d7f 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' ? 2000 : 1000; + const defaultDuration = type === 'error' ? 5000 : 2000; return showNotification({ autoClose: defaultDuration,