The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: added shimmer loading state
TzeYiinga4f905c9c814
diff --git a/studio/pages/project/[ref]/reports/api-overview.tsx b/studio/pages/project/[ref]/reports/api-overview.tsxindex 27202cb837d..d5c86f0b25a 100644--- a/studio/pages/project/[ref]/reports/api-overview.tsx+++ b/studio/pages/project/[ref]/reports/api-overview.tsx@@ -21,11 +21,11 @@ import { useProjectSubscriptionQuery } from 'data/subscriptions/project-subscripimport { useParams } from 'hooks'import { isEqual } from 'lodash'import { useRouter } from 'next/router'+import ShimmerLine from 'components/ui/ShimmerLine'export const ApiReport: NextPageWithLayout = () => {const { ref: projectRef } = useParams()const report = useApiReport()- const router = useRouter()const { data: subscription } = useProjectSubscriptionQuery({ projectRef })const tier = subscription?.tier@@ -53,7 +53,9 @@ export const ApiReport: NextPageWithLayout = () => {disabled: (index > 0 && tier?.key === 'FREE') || (index > 1 && tier?.key !== 'PRO'),}))}/>-+ <div className="h-2 w-full">+ <ShimmerLine active={report.isLoading} />+ </div><ReportWidgetisLoading={report.isLoading}params={report.params.totalRequests}