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:
parent
47eee7d166
commit
e49f69a4e6
5 changed files with 11 additions and 5 deletions
|
@ -12,6 +12,7 @@ const defaultValue = {
|
|||
hasNew: false,
|
||||
indicatorEnabled: false,
|
||||
markAsRead: () => {},
|
||||
refresh: () => Promise.resolve() as Promise<unknown>,
|
||||
};
|
||||
|
||||
const NotificationContext = createContext(defaultValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue