From c0ab704160b79be1b626afe5817671ee3a611d1d Mon Sep 17 00:00:00 2001 From: Limber Mamani Vallejos Date: Thu, 21 Nov 2024 15:42:23 -0400 Subject: [PATCH] [TM-1456] filter to bin text --- src/components/elements/Inputs/FileInput/FileCardContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}