From 979731c482a2264afe1650aa0fc58b34ab53073e Mon Sep 17 00:00:00 2001 From: VioMrqs <27735540+VioMrqs@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:42:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Build=20failing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ssr/src/components/atoms/form/UploadDocument.tsx | 8 ++++---- packages/libraries/file-storage/src/constant.ts | 1 - packages/libraries/file-storage/src/index.ts | 1 - packages/libraries/file-storage/src/upload.ts | 2 ++ 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 packages/libraries/file-storage/src/constant.ts diff --git a/packages/applications/ssr/src/components/atoms/form/UploadDocument.tsx b/packages/applications/ssr/src/components/atoms/form/UploadDocument.tsx index a5432e7792..5914b11787 100644 --- a/packages/applications/ssr/src/components/atoms/form/UploadDocument.tsx +++ b/packages/applications/ssr/src/components/atoms/form/UploadDocument.tsx @@ -4,7 +4,7 @@ import Button from '@codegouvfr/react-dsfr/Button'; import RadioButtons, { RadioButtonsProps } from '@codegouvfr/react-dsfr/RadioButtons'; import { Routes } from '@potentiel-applications/routes'; -import { DEFAULT_FILE_SIZE_LIMIT_IN_MB } from '@potentiel-libraries/file-storage'; +import { DEFAULT_UPLOAD_FILE_SIZE_LIMIT_IN_MB } from '@potentiel-libraries/file-storage'; import { Icon } from '../Icon'; @@ -67,9 +67,9 @@ const UploadNewDocument: FC> = ({ setUploadFileName(fileName); }} /> -
- {`Taille maximale de fichier : ${DEFAULT_FILE_SIZE_LIMIT_IN_MB} MB`} -
+