Update src/toasts/ServerLimitToast.tsx

pull/21833/head
Travis Ralston 2021-02-24 11:20:58 -07:00 committed by GitHub
parent c78d1c49ab
commit c11c8c2faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,