From 5254ec2f2ffe486f3d13e4c98b81eaf68cffade4 Mon Sep 17 00:00:00 2001 From: Alice Dahan Date: Fri, 15 Nov 2024 16:58:32 +0100 Subject: [PATCH] refactor: simplifie la traduction dans EffectifSwitch --- .../reduction-generale/components/EffectifSwitch.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/site/source/pages/simulateurs/reduction-generale/components/EffectifSwitch.tsx b/site/source/pages/simulateurs/reduction-generale/components/EffectifSwitch.tsx index eac1e6574..725a1c5a1 100644 --- a/site/source/pages/simulateurs/reduction-generale/components/EffectifSwitch.tsx +++ b/site/source/pages/simulateurs/reduction-generale/components/EffectifSwitch.tsx @@ -1,6 +1,6 @@ import { DottedName } from 'modele-social' import { useEffect, useState } from 'react' -import { Trans, useTranslation } from 'react-i18next' +import { useTranslation } from 'react-i18next' import { useDispatch } from 'react-redux' import { useEngine } from '@/components/utils/EngineContext' @@ -29,12 +29,8 @@ export default function EffectifSwitch() { }} aria-label={t("Effectif de l'entreprise")} > - - Moins de 50 salariés - - - Plus de 50 salariés - + {t('Moins de 50 salariés')} + {t('Plus de 50 salariés')} ) }