Skip to content

Commit

Permalink
Change Interval
Browse files Browse the repository at this point in the history
  • Loading branch information
jefponte committed Mar 11, 2024
1 parent 5287214 commit 7a08341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/notifications/NotificationButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function NotificationButton() {
useEffect(() => {
const intervalId = setInterval(() => {
refetch();
}, 3000);
}, 8000);
return () => {
clearInterval(intervalId);
};
Expand Down

0 comments on commit 7a08341

Please sign in to comment.