1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

notifications: updating lastSeen when list is opened

This commit is contained in:
Fedor Katurov 2023-03-11 19:30:18 +06:00
parent a39d000ff2
commit 97590d88af
7 changed files with 88 additions and 4 deletions

View file

@ -10,6 +10,7 @@ const defaultValue = {
available: false,
enabled: false,
hasNew: false,
markAsRead: () => {},
};
const NotificationContext = createContext(defaultValue);