mirror of https://github.com/vector-im/riot-web
Fix not being able to dismiss new login toasts
`toastKey` is a thing. Fixes https://github.com/vector-im/riot-web/issues/13923pull/21833/head
parent
ddc9c67a8b
commit
c667ea69af
|
@ -66,5 +66,5 @@ export const showToast = (deviceId: string) => {
|
|||
};
|
||||
|
||||
export const hideToast = (deviceId: string) => {
|
||||
ToastStore.sharedInstance().dismissToast(deviceId);
|
||||
ToastStore.sharedInstance().dismissToast(toastKey(deviceId));
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue