Fix not being able to dismiss new login toasts

`toastKey` is a thing.

Fixes https://github.com/vector-im/riot-web/issues/13923
pull/21833/head
Travis Ralston 2020-06-04 13:47:43 -06:00
parent ddc9c67a8b
commit c667ea69af
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}; };