From 95ecd05046d9646fd2331a6736ca434b3ddf0abc Mon Sep 17 00:00:00 2001 From: Kay Belardinelli Date: Thu, 3 Apr 2025 15:45:10 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20a11y:=20Add=20Accessibl?= =?UTF-8?q?e=20Name=20to=20Button=20for=20File=20Attachment=20Removal=20(#?= =?UTF-8?q?6709)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/Chat/Input/Files/RemoveFile.tsx | 6 +++++- client/src/locales/en/translation.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/Chat/Input/Files/RemoveFile.tsx b/client/src/components/Chat/Input/Files/RemoveFile.tsx index a3c76a910f..bb83b6a135 100644 --- a/client/src/components/Chat/Input/Files/RemoveFile.tsx +++ b/client/src/components/Chat/Input/Files/RemoveFile.tsx @@ -1,11 +1,15 @@ +import { useLocalize } from '~/hooks'; + export default function RemoveFile({ onRemove }: { onRemove: () => void }) { + const localize = useLocalize(); return (