lint: update web knowledge pnpm lint

This commit is contained in:
youhuanghe
2026-03-08 11:05:00 +00:00
parent 95dd19f4d7
commit 90438cec36
4 changed files with 21 additions and 6 deletions
@@ -97,7 +97,9 @@ export default function FileUploadZone({
onUploadSuccess();
} catch (error) {
console.error('File upload failed:', error);
const errorMessage = t('knowledge.documentsTab.uploadError') + (error as CustomApiError).msg;
const errorMessage =
t('knowledge.documentsTab.uploadError') +
(error as CustomApiError).msg;
toast.error(errorMessage, { id: toastId });
onUploadError(errorMessage);
} finally {