From d227e1c0c1893ebdf70a5b1cecae619c1a715b49 Mon Sep 17 00:00:00 2001 From: Shevijacobson Date: Tue, 24 Sep 2024 13:50:30 +0300 Subject: [PATCH] add missing line Signed-off-by: Shevijacobson --- .../import-applications-form/import-applications-form.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx b/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx index db8fe4378..3f0189d23 100644 --- a/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx +++ b/client/src/app/pages/applications/components/import-applications-form/import-applications-form.tsx @@ -102,6 +102,7 @@ export const ImportApplicationsForm: React.FC = ({ "application/vnd.ms-excel": [".xls"], "application/vnd.oasis.opendocument.spreadsheet": [".ods"], }, + onDropRejected: handleFileRejected, }} onClearClick={() => { setFile(undefined); @@ -111,7 +112,7 @@ export const ImportApplicationsForm: React.FC = ({ - {t("errors.invalidFileFormat")} + You should select a CSV/EXEL/ODS file.