diff --git a/src/module/apiError.js b/src/module/apiError.js index d1d20e8..cca8b1f 100644 --- a/src/module/apiError.js +++ b/src/module/apiError.js @@ -27,5 +27,5 @@ export default async function apiError(error, toastMessage) { await delay(1000); loading.isLoading = false; await delay(500); - $toast.default('Please upload your file.', {position: 'bottom'}); + $toast.default(toastMessage, {position: 'bottom'}); }