mirror of https://github.com/vector-im/riot-web
Update src/toasts/ServerLimitToast.tsx
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