diff --git a/src/features/buyable.tsx b/src/features/buyable.tsx index a2d58af..48d786a 100644 --- a/src/features/buyable.tsx +++ b/src/features/buyable.tsx @@ -163,7 +163,8 @@ export function createBuyable( // TODO once processComputable types correctly, remove this "as X" const currDisplay = unref(display) as BuyableDisplay; if (isCoercableComponent(currDisplay)) { - return ; + const CurrDisplay = coerceComponent(currDisplay); + return ; } if (currDisplay != null && buyable.cost != null && buyable.resource != null) { const genericBuyable = buyable as GenericBuyable;