mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
Fix not being able to dismiss new login toasts
`toastKey` is a thing.
Fixes https://github.com/vector-im/riot-web/issues/13923
(cherry picked from commit c667ea69af)
This commit is contained in:
committed by
Michael Telatynski
parent
65e59fd708
commit
ab9284fced
@@ -66,5 +66,5 @@ export const showToast = (deviceId: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const hideToast = (deviceId: string) => {
|
export const hideToast = (deviceId: string) => {
|
||||||
ToastStore.sharedInstance().dismissToast(deviceId);
|
ToastStore.sharedInstance().dismissToast(toastKey(deviceId));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user