fix(wizard): resolve type error on monthly_price
All checks were successful
Staging Build / build (push) Successful in 2m56s
All checks were successful
Staging Build / build (push) Successful in 2m56s
This commit is contained in:
@@ -190,7 +190,7 @@ export function StepSummary({
|
||||
{sortedProds.map((prod, idx) => {
|
||||
const isFree = idx < freeLimit
|
||||
const isAbo = item.billingInterval === 'monthly'
|
||||
const displayPrice = isFree ? 0 : (isAbo ? (prod.monthly_price ?? prod.base_price) : prod.base_price)
|
||||
const displayPrice = isFree ? 0 : (isAbo ? ((prod as any).monthly_price ?? prod.base_price) : prod.base_price)
|
||||
return (
|
||||
<div key={prod.id} className="flex justify-between text-slate-200">
|
||||
<span className="flex items-center gap-1.5">
|
||||
|
||||
Reference in New Issue
Block a user