aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-11 11:49:32 -0400
committerIvan Chen <ivan@tagg.id>2021-06-11 11:49:32 -0400
commit3680329b9cdee900e72666d3c3644b3bb13f27ba (patch)
treeaf4d624ad3db1d33931f7feaa80cd4803195b70e /src/components/notifications
parenta2acb2e97d4ba30713c77e1e44d7c7a069f95034 (diff)
Change timing to 10 seconds
Diffstat (limited to 'src/components/notifications')
-rw-r--r--src/components/notifications/NotificationPill.tsx4
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]);