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

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