Skip to content

Commit

Permalink
fix: Notifications auto-closing time
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha committed Sep 22, 2024
1 parent eba41f6 commit d7fe43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/notification-center/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const useNotificationCenter = (): {
removeNotification(id);

delete notificationIds[id];
}, notification.visibilityTime ?? 400000);
}, notification.visibilityTime ?? 4000);

return id;
};
Expand Down

0 comments on commit d7fe43e

Please sign in to comment.