mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix: calculating estimated cost (#12105)
This commit is contained in:
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user