Apply changes from review

This commit is contained in:
Will Hunt 2021-02-24 17:32:00 +00:00
parent 84bcdf66f2
commit c78d1c49ab
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ export const showToast = (limitType: string, onHideToast: () => void, adminConta
acceptLabel: _t("Ok"),
onAccept: () => {
hideToast()
onHideToast()
if (onHideToast) { onHideToast() }
},
},
component: GenericToast,