aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-11 16:56:15 -0400
committerGitHub <noreply@github.com>2021-06-11 16:56:15 -0400
commit17d3f1255bd7692772b675b09685a92b305e8d9b (patch)
treecff28fe67bb63f1e96d3807505c0b4bb32a5b1ec /src/components/notifications
parent0fe146a5041d9d1a5cd7c13866034a695fda8307 (diff)
parent3680329b9cdee900e72666d3c3644b3bb13f27ba (diff)
Merge pull request #464 from IvanIFChen/hotfix-pill-notification-timing
[HOTFIX] Change Pill Notification Time 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]);