Skip to content

Commit

Permalink
[TM-1408] remove description attribute (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope authored Oct 22, 2024
1 parent f4a7cf6 commit eb4b5df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/elements/Inputs/FileInput/RHFFileInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit eb4b5df

Please sign in to comment.