diff --git a/src/components/elements/Inputs/FileInput/FileCardContent.tsx b/src/components/elements/Inputs/FileInput/FileCardContent.tsx index 29804ebb5..0244f0589 100644 --- a/src/components/elements/Inputs/FileInput/FileCardContent.tsx +++ b/src/components/elements/Inputs/FileInput/FileCardContent.tsx @@ -64,7 +64,7 @@ export const FileCardContent = ({ className={classNames(errorMessage && "text-error first-letter:capitalize", variant.subTitleClassName)} title={errorMessage || subtitle} > - {errorMessage || subtitle} + {errorMessage?.replace(/,?\s*bin\b/g, "") || subtitle}