Skip to content

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

Misc fixes on some formatting

Joshen Lim23c1ade61ce7
diff --git a/studio/components/interfaces/Billing/ProUpgrade/ProUpgrade.tsx b/studio/components/interfaces/Billing/ProUpgrade/ProUpgrade.tsx
index 94d6a6aaedb..94f488f200d 100644
--- a/studio/components/interfaces/Billing/ProUpgrade/ProUpgrade.tsx
+++ b/studio/components/interfaces/Billing/ProUpgrade/ProUpgrade.tsx
@@ -207,20 +207,15 @@ const ProUpgrade: FC<Props> = ({
onChange={() => setIsSpendCapEnabled(!isSpendCapEnabled)}
/>
</div>
- {}
- {nativeBilling && (
+ {nativeBilling && projectRegion !== 'af-south-1' && (
<>
- {projectRegion !== 'af-south-1' && (
- <>
- <Divider light />
- <ComputeSizeSelection
- computeSizes={computeSizes || []}
- currentComputeSize={currentComputeSize}
- selectedComputeSize={selectedComputeSize}
- onSelectOption={onSelectComputeSizeOption}
- />
- </>
- )}
+ <Divider light />
+ <ComputeSizeSelection
+ computeSizes={computeSizes || []}
+ currentComputeSize={currentComputeSize}
+ selectedComputeSize={selectedComputeSize}
+ onSelectOption={onSelectComputeSizeOption}
+ />
</>
)}
</div>
diff --git a/studio/components/interfaces/Billing/Subscription/Subscription.tsx b/studio/components/interfaces/Billing/Subscription/Subscription.tsx
index 1f184435194..33e6fcdf9f0 100644
--- a/studio/components/interfaces/Billing/Subscription/Subscription.tsx
+++ b/studio/components/interfaces/Billing/Subscription/Subscription.tsx
@@ -64,7 +64,6 @@ const Subscription: FC<Props> = ({
</p>
<h3 className="text-xl mb-0">{subscription?.tier.name ?? '-'}</h3>
</div>
- {/* {nativeBilling ? ( */}
<div className="flex flex-col items-end space-y-2">
<Button
disabled={!isOrgOwner}
diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsx
index 6da1362c5aa..710616fe345 100644
--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx
@@ -245,9 +245,7 @@ const LogTable = ({
</div>
</div>
)}
- <div
- className={'flex flex-row h-full ' + (!queryType ? 'border-l border-r' : '')}
- >
+ <div className={`flex flex-row h-full ${!queryType ? 'border-l border-r' : ''}`}>
<DataGrid
style={{ height: '100%' }}
className={`
@@ -265,22 +263,11 @@ const LogTable = ({
<>
<div className="py-4 w-full h-full flex-col space-y-12">
<div
- className={`transition-all
- duration-500
- delay-200
-
- flex
- flex-col
- items-center
-
- gap-6
- text-center
- mt-16
- opacity-100
- scale-100
-
- justify-center
- `}
+ className={[
+ 'transition-all duration-500 delay-200',
+ 'flex flex-col items-center gap-6 text-center',
+ 'mt-16 opacity-100 scale-100 justify-center',
+ ].join(' ')}
>
<div className="flex flex-col gap-1">
<div className="relative border border-scale-600 border-dashed dark:border-scale-400 w-32 h-4 rounded px-2 flex items-center"></div>