fix(wizard): resolve type error on monthly_price
All checks were successful
Staging Build / build (push) Successful in 2m56s

This commit is contained in:
DanielS
2026-08-06 17:52:07 +02:00
parent b3ae720136
commit 169afb6538

View File

@@ -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">