Skip to content

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

Remove unused swr in lib/common/fetch

Joshen Limc37133832961
diff --git a/studio/lib/common/fetch/index.ts b/studio/lib/common/fetch/index.ts
index 3e66045b405..7303609a9ba 100644
--- a/studio/lib/common/fetch/index.ts
+++ b/studio/lib/common/fetch/index.ts
@@ -3,6 +3,3 @@ export * from './delete'
export * from './get'
export * from './patch'
export * from './post'
-
-// remove this as soon we can
-export * as swr from './swr'
diff --git a/studio/lib/common/fetch/swr.js b/studio/lib/common/fetch/swr.js
deleted file mode 100644
index 99ffbc89140..00000000000
--- a/studio/lib/common/fetch/swr.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export default async function Fetch(...args) {
- const res = await fetch(...args)
- const body = await res.json()
- return body
-}