added translation for banner information

This commit is contained in:
Md Asif 2024-12-23 18:29:25 +05:30
parent 7ae4e8dbef
commit 71ece53f65

View File

@ -6,7 +6,7 @@ function BannerInfo({info}) {
const {t} = useTranslation(); const {t} = useTranslation();
const infoElements = Object.keys(info).map((key) => ( const infoElements = Object.keys(info).map((key) => (
<BannerInfoElement key={key} title={t(key)} description={info[key]} /> <BannerInfoElement key={key} title={t(key)} description={t(info[key])} />
)) ))
infoElements.push( infoElements.push(
<BannerInfoElement <BannerInfoElement