The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Cleanup
Terry Sutton4ad52e823667
diff --git a/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx b/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsxindex 29688ed37dc..2ae93097daf 100644--- a/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx+++ b/studio/components/interfaces/Settings/Logs/UpgradePrompt.tsx@@ -1,5 +1,4 @@import Link from 'next/link'-import dayjs from 'dayjs'import { Button, IconLoader, Modal } from '@supabase/ui'import { SetStateAction } from 'react'import { TIER_QUERY_LIMITS } from '.'@@ -14,21 +13,13 @@ interface Props {const UpgradePrompt: React.FC<Props> = ({projectRef,- from,showUpgradePrompt,setShowUpgradePrompt,}) => {- const { subscription, isLoading, isError } = useProjectSubscription(projectRef)+ const { isLoading, isError } = useProjectSubscription(projectRef)if (isLoading) return <IconLoader size={16} className="animate-spin" />if (isError) console.error('Error fetching project subscription')- const tier = subscription?.tier- const queryLimit = TIER_QUERY_LIMITS[(tier?.key || 'FREE') as keyof typeof TIER_QUERY_LIMITS]-- const fromValue = from ? dayjs(from) : dayjs()- const fromMax = dayjs().startOf('day').subtract(queryLimit.value, queryLimit.unit)- const isExceedingLimit = fromValue.isBefore(fromMax)-return (<><Modal