Skip to content

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

chore: clean up

phamhieubd8621cc5a40
diff --git a/studio/stores/app/AppStore.ts b/studio/stores/app/AppStore.ts
index 235cdda2682..4146516ddc2 100644
--- a/studio/stores/app/AppStore.ts
+++ b/studio/stores/app/AppStore.ts
@@ -2,7 +2,7 @@ import { cloneDeep } from 'lodash'
import { values } from 'mobx'
import { Organization, Project } from 'types'
-import { API_URL, STRIPE_PRODUCT_IDS } from 'lib/constants'
+import { API_URL } from 'lib/constants'
import { IRootStore } from '../RootStore'
import DatabaseStore, { IDatabaseStore } from './DatabaseStore'
import OrganizationStore from './OrganizationStore'
diff --git a/studio/stores/app/ProjectStore.ts b/studio/stores/app/ProjectStore.ts
index 80dfd492a80..0168c004e66 100644
--- a/studio/stores/app/ProjectStore.ts
+++ b/studio/stores/app/ProjectStore.ts
@@ -13,16 +13,4 @@ export default class ProjectStore extends PostgresMetaInterface<Project> {
) {
super(rootStore, dataUrl, headers, options)
}
-
- initialDataArray(value: Project[]) {
- const finalValue = value.map((project: any) => {
- const kpsVersion =
- project?.services?.length > 0
- ? project?.services[0]?.infrastructure[0]?.app_versions?.version
- : undefined
-
- return { ...project, kpsVersion }
- })
- super.initialDataArray(finalValue)
- }
}