From 37f9b5844ea7edfd9cd3f32f4a31117f5d4ef3a0 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 10 May 2022 12:27:21 +0200 Subject: [PATCH] Ajoute un attribut sur les emojis fix #2136 --- site/source/components/utils/Emoji.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/source/components/utils/Emoji.tsx b/site/source/components/utils/Emoji.tsx index 2cba39775..5a59bc156 100644 --- a/site/source/components/utils/Emoji.tsx +++ b/site/source/components/utils/Emoji.tsx @@ -13,7 +13,7 @@ type PropType = { // - using a real React component works better with the translation scripts export default function Emoji({ emoji, alt, title }: PropType) { const language = useTranslation().i18n.language - + alt ??= emoji const siteUrl = language === 'fr' ? import.meta.env.VITE_FR_BASE_URL