diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-11 16:56:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 16:56:15 -0400 |
commit | 17d3f1255bd7692772b675b09685a92b305e8d9b (patch) | |
tree | cff28fe67bb63f1e96d3807505c0b4bb32a5b1ec /src/components/notifications/NotificationPill.tsx | |
parent | 0fe146a5041d9d1a5cd7c13866034a695fda8307 (diff) | |
parent | 3680329b9cdee900e72666d3c3644b3bb13f27ba (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/NotificationPill.tsx')
-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]); |