Merge pull request #4715 from matrix-org/t3chguy/1.6.4/r2

Fix not being able to dismiss new login toasts
pull/21833/head
Michael Telatynski 2020-06-05 11:34:06 +01:00 committed by GitHub
commit 455b915143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) => {
ToastStore.sharedInstance().dismissToast(deviceId);
ToastStore.sharedInstance().dismissToast(toastKey(deviceId));
};