You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2026-01-03 21:42:32 +03:00
Fix not being able to dismiss new login toasts
`toastKey` is a thing. Fixes https://github.com/vector-im/riot-web/issues/13923
This commit is contained in:
@@ -66,5 +66,5 @@ export const showToast = (deviceId: string) => {
|
||||
};
|
||||
|
||||
export const hideToast = (deviceId: string) => {
|
||||
ToastStore.sharedInstance().dismissToast(deviceId);
|
||||
ToastStore.sharedInstance().dismissToast(toastKey(deviceId));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user