From eb4b5dfe3b9db56637254e6e279efe7f706a63f6 Mon Sep 17 00:00:00 2001 From: Limber Mamani <154026979+LimberHope@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:59:45 -0400 Subject: [PATCH] [TM-1408] remove description attribute (#584) --- src/components/elements/Inputs/FileInput/RHFFileInput.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/elements/Inputs/FileInput/RHFFileInput.tsx b/src/components/elements/Inputs/FileInput/RHFFileInput.tsx index 85a98cb5a..227c21df0 100644 --- a/src/components/elements/Inputs/FileInput/RHFFileInput.tsx +++ b/src/components/elements/Inputs/FileInput/RHFFileInput.tsx @@ -9,7 +9,6 @@ import { usePostV2FileUploadMODELCOLLECTIONUUID, usePutV2FilesUUID } from "@/generated/apiComponents"; -import { getCurrentPathEntity } from "@/helpers/entity"; import { UploadedFile } from "@/types/common"; import { toArray } from "@/utils/array"; import { getErrorMessages } from "@/utils/errors"; @@ -248,9 +247,6 @@ const RHFFileInput = ({ {...(isPhotosAndVideo && { previewAsTable: true, descriptionInput: t("drag and drop or browse your device"), - description: t( - `if operations have begun, please upload images or videos of this specific ${getCurrentPathEntity()}` - ), variant: VARIANT_FILE_INPUT_MODAL_ADD_IMAGES_WITH_MAP })} onDelete={onDeleteFile}