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

telegram: refreshing notification settings on account attachment

This commit is contained in:
Fedor Katurov 2023-03-13 18:48:38 +06:00
parent 47eee7d166
commit e49f69a4e6
5 changed files with 11 additions and 5 deletions

View file

@ -12,6 +12,7 @@ const defaultValue = {
hasNew: false,
indicatorEnabled: false,
markAsRead: () => {},
refresh: () => Promise.resolve() as Promise<unknown>,
};
const NotificationContext = createContext(defaultValue);