diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-11 11:49:32 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-11 11:49:32 -0400 |
commit | 3680329b9cdee900e72666d3c3644b3bb13f27ba (patch) | |
tree | af4d624ad3db1d33931f7feaa80cd4803195b70e /src | |
parent | a2acb2e97d4ba30713c77e1e44d7c7a069f95034 (diff) |
Change timing to 10 seconds
Diffstat (limited to 'src')
-rw-r--r-- | src/components/notifications/NotificationPill.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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<NotificationPillProps> = ({ }, 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]); |