Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Space between paragraphs

Terry Suttonf4386b431960
diff --git a/studio/components/interfaces/BillingV2/Usage/Bandwidth.tsx b/studio/components/interfaces/BillingV2/Usage/Bandwidth.tsx
index 6dcbe70cebc..1cfa638840e 100644
--- a/studio/components/interfaces/BillingV2/Usage/Bandwidth.tsx
+++ b/studio/components/interfaces/BillingV2/Usage/Bandwidth.tsx
@@ -190,7 +190,7 @@ const Bandwidth = ({ projectRef }: BandwidthProps) => {
data={chartData}
yLimit={usageMeta?.limit ?? 0}
yLeftMargin={chartMeta[attribute.key].margin}
- yFormatter={value => ChartYFormatterCompactNumber(value, attribute.unit)}
+ yFormatter={(value) => ChartYFormatterCompactNumber(value, attribute.unit)}
quotaWarningType={isFreeTier || isProTier ? 'danger' : 'warning'}
/>
)}
diff --git a/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx b/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx
index f2a8dec923b..752aae4e2dc 100644
--- a/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx
+++ b/studio/components/interfaces/BillingV2/Usage/SectionContent.tsx
@@ -2,6 +2,7 @@ import { PropsWithChildren } from 'react'
import { Badge, IconExternalLink } from 'ui'
import { CategoryAttribute } from './Usage.constants'
import Link from 'next/link'
+import { ReactMarkdown } from 'react-markdown/lib/react-markdown'
export interface SectionContent {
section: CategoryAttribute
@@ -26,11 +27,13 @@ const SectionContent = ({
<p className="text-base capitalize">{name}</p>
{includedInPlan === false && <Badge color="gray">Not included</Badge>}
</div>
- {description.split('\n').map((value, idx) => (
- <p key={`desc-${idx}`} className="text-sm text-scale-1000 pr-8">
- {value}
- </p>
- ))}
+ <div className="grid gap-4">
+ {description.split('\n').map((value, idx) => (
+ <p key={`desc-${idx}`} className="text-sm text-scale-1000 pr-8">
+ {value}
+ </p>
+ ))}
+ </div>
</div>
{links && links.length && (
<div className="space-y-2">
diff --git a/studio/components/interfaces/BillingV2/Usage/SizeAndCounts.tsx b/studio/components/interfaces/BillingV2/Usage/SizeAndCounts.tsx
index 16ab130462e..835be493949 100644
--- a/studio/components/interfaces/BillingV2/Usage/SizeAndCounts.tsx
+++ b/studio/components/interfaces/BillingV2/Usage/SizeAndCounts.tsx
@@ -144,7 +144,7 @@ const SizeAndCounts = ({ projectRef }: SizeAndCountsProps) => {
</Link>
)}
</div>
- {usageMeta.limit > 0 && (
+ {usageMeta?.limit > 0 && (
<SparkBar
type="horizontal"
barClass={clsx(
@@ -179,7 +179,7 @@ const SizeAndCounts = ({ projectRef }: SizeAndCountsProps) => {
: (usageMeta?.usage ?? 0).toLocaleString()}
</p>
</div>
- {usageMeta.limit > 0 && (
+ {usageMeta?.limit > 0 && (
<div className="flex items-center justify-between border-t py-1">
<p className="text-xs text-scale-1000">Overage this month</p>
<p className="text-xs">