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

Fix not being able to dismiss new login toasts
This commit is contained in:
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

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