Update src/toasts/ServerLimitToast.tsx

This commit is contained in:
Travis Ralston
2021-02-24 11:20:58 -07:00
committed by GitHub
parent c78d1c49ab
commit c11c8c2faf

View File

@@ -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,