Skip to content

Commit

Permalink
๐ŸŽจ ์•Œ๋ฆผ์ฐฝ ์ฝ์Œ์ฒ˜๋ฆฌ ์‹œ๊ฐ„ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
Squarecat-meow committed Dec 18, 2024
1 parent c362fb1 commit 0639e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/_components/notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Notification() {
const timestamp = Date.now();

return () => {
if (Date.now() - timestamp > 1000 * 3) {
if (Date.now() - timestamp > 1000 * 0.5) {
fetch('/api/user/notification/read-all', {
method: 'POST',
});
Expand Down

0 comments on commit 0639e45

Please sign in to comment.