diff --git a/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js b/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js index 7f6a060..78a63b1 100644 --- a/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js +++ b/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js @@ -168,16 +168,7 @@ const EvaluationExtraFiles = ({ } } - const errGetDocsCallback = (resp) => { - if (toast.current && resp.message) { - toast.current.show({ - severity: resp.status === 'SUCCESS' ? 'info' : 'error', - summary: '', - detail: resp.message - }); - } - set404FromErrorResponse(resp); - } + const errGetDocsCallback = () => {} useEffect(() => { CompanyService.getCompanyDocuments(companyId, getDocsCallback, errGetDocsCallback, [