From 3680329b9cdee900e72666d3c3644b3bb13f27ba Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 11 Jun 2021 11:49:32 -0400 Subject: Change timing to 10 seconds --- src/components/notifications/NotificationPill.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/notifications/NotificationPill.tsx b/src/components/notifications/NotificationPill.tsx index 01622a6f..525cd7fa 100644 --- a/src/components/notifications/NotificationPill.tsx +++ b/src/components/notifications/NotificationPill.tsx @@ -75,12 +75,12 @@ export const NotificationPill: React.FC = ({ }, 100); }, [notificationSets, iconRef, tipRef]); - // Used so that pill disappears after 5 seconds + // Used so that pill disappears after 10 seconds useEffect(() => { if (timeCount) { setTimeout(() => { setTimeOut(true); - }, 5000); + }, 10000); } }, [timeCount]); -- cgit v1.2.3-70-g09d2