mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:35:04 +08:00
Update src/toasts/ServerLimitToast.tsx
This commit is contained in:
parent
c78d1c49ab
commit
c11c8c2faf
@ -40,7 +40,7 @@ export const showToast = (limitType: string, onHideToast: () => void, adminConta
|
||||
acceptLabel: _t("Ok"),
|
||||
onAccept: () => {
|
||||
hideToast()
|
||||
if (onHideToast) { onHideToast() }
|
||||
if (onHideToast) onHideToast();
|
||||
},
|
||||
},
|
||||
component: GenericToast,
|
||||
|
Loading…
Reference in New Issue
Block a user