fix: apply translation to product name

This commit is contained in:
gbuomprisco
2025-10-02 17:05:56 +08:00
parent 54d6b4897f
commit 67a60ef385

View File

@@ -425,7 +425,12 @@ function PlanDetails({
} }
> >
<div className={'flex flex-col space-y-1'}> <div className={'flex flex-col space-y-1'}>
<span className={'text-sm font-semibold'}>{selectedProduct.name}</span> <span className={'text-sm font-semibold'}>
<Trans
i18nKey={selectedProduct.name}
defaults={selectedProduct.name}
/>
</span>
</div> </div>
<If condition={selectedPlan.lineItems.length > 0}> <If condition={selectedPlan.lineItems.length > 0}>