mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Clean up more
This commit is contained in:
1 parent
e587beb3d1
commit
0cfefc6544
2 files changed
+2
-4
No files matched your search
@@ -57,7 +57,7 @@ import { SpendCapDisabledSection } from './ui/SpendCapDisabledSection'
|
||||
export function DiskManagementForm() {
|
||||
const {
|
||||
project,
|
||||
// isLoading is used to avoud a useCheckPermissions() race condition
|
||||
// isLoading is used to avoid a useCheckPermissions() race condition
|
||||
isLoading: isProjectLoading,
|
||||
} = useProjectContext()
|
||||
const org = useSelectedOrganization()
|
||||
@@ -286,8 +286,6 @@ export function DiskManagementForm() {
|
||||
}
|
||||
}
|
||||
|
||||
// return <></>
|
||||
|
||||
const showUpgradeBadge = showMicroUpgrade(
|
||||
subscription?.plan.id ?? 'free',
|
||||
project?.infra_compute_size ?? 'nano'
|
||||
|
||||
@@ -61,7 +61,7 @@ export function ComputeSizeField({ form, disabled }: ComputeSizeFieldProps) {
|
||||
*/
|
||||
project,
|
||||
/**
|
||||
* isLoading is used to avoud a useCheckPermissions() race condition
|
||||
* isLoading is used to avoid a useCheckPermissions() race condition
|
||||
*/
|
||||
isLoading: isProjectLoading,
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user