Minor adjustments

This commit is contained in:
gbuomprisco
2024-09-09 10:22:34 +02:00
parent e4941435a2
commit eba782a11d
2 changed files with 13 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ export default createBillingSchema({
lineItems: [
{
id: 'price_1NNwYHI1i3VnbZTqI2UzaHIe',
name: 'Addon 2',
name: 'Starter',
cost: 9.99,
type: 'flat' as const,
},

View File

@@ -136,17 +136,19 @@ export function LineItemDetails(
<span>
<Trans i18nKey={'billing:perTeamMember'} />
</span>
</span>
<If condition={!item.tiers?.length}>
<span className={'font-semibold'}>
{formatCurrency({
currencyCode,
value: item.cost,
locale,
})}
</span>
</If>
<span>-</span>
<If condition={!item.tiers?.length}>
<span className={'font-semibold'}>
{formatCurrency({
currencyCode,
value: item.cost,
locale,
})}
</span>
</If>
</span>
</div>
<SetupFee />