Skip to content

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

Fix

Joshen Lim363f682a5d7f
diff --git a/studio/components/interfaces/Organization/Usage/Usage.tsx b/studio/components/interfaces/Organization/Usage/Usage.tsx
index 9dc4d88ffc2..aeb0ab2933e 100644
--- a/studio/components/interfaces/Organization/Usage/Usage.tsx
+++ b/studio/components/interfaces/Organization/Usage/Usage.tsx
@@ -38,7 +38,9 @@ const Usage = () => {
setSelectedProjectRef(projectRef)
}
}
- }, [projectRef, isSuccess, orgProjects])
+ // [Joshen] Since we're already looking at isSuccess
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [projectRef, isSuccess])
const billingCycleStart = dayjs.unix(subscription?.current_period_start ?? 0).utc()
const billingCycleEnd = dayjs.unix(subscription?.current_period_end ?? 0).utc()