summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/toastUtils.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/toastUtils.ts b/src/utils/toastUtils.ts
index 3468064..c41f4c0 100644
--- a/src/utils/toastUtils.ts
+++ b/src/utils/toastUtils.ts
@@ -5,7 +5,9 @@ export interface ToastOptions {
body: string;
}
-const showToast = (title: string, body: string): void => toaster.toast({ title, body });
+const showToast = (title: string, body: string): void => {
+ toaster.toast({ title, body });
+};
export const showSuccessToast = showToast;
export const showErrorToast = showToast;