Merge pull request #4709 from matrix-org/travis/later

Fix not being able to dismiss new login toasts
This commit is contained in:
Travis Ralston 2020-06-04 14:12:21 -06:00 committed by GitHub
commit 3fff46b0c7
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));
};