fix: calculating estimated cost (#12105)

This commit is contained in:
Kevin Grüneberg authored and GitHub committed 2023-02-02 08:30:00 +01:00
1 parent 5b632b0355
commit d8bc2a5f58
1 file changed
+1 -1
@@ -62,7 +62,7 @@ const Subscription: FC<Props> = ({
? 0
: Object.keys(usage)
.map((productKey) => {
return usage[productKey].cost
return usage[productKey].cost ?? 0
})
.reduce((prev, current) => prev + current, 0)