Clean up more

This commit is contained in:
Joshen Lim committed 2024-10-31 17:31:47 +08:00
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,
/**