mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
1 file changed
+1
-1
+1
-1
@@ -25,7 +25,7 @@ const DeleteProjectButton = ({ type = 'danger' }: DeleteProjectButtonProps) => {
|
||||
const projectRef = project?.ref
|
||||
const { data: subscription } = useProjectSubscriptionV2Query({ projectRef })
|
||||
const projectPlan = subscription?.plan?.id ?? 'free'
|
||||
const isFree = projectPlan === PRICING_TIER_PRODUCT_IDS.FREE
|
||||
const isFree = projectPlan === 'free'
|
||||
|
||||
const [isOpen, setIsOpen] = useState(false)
|
||||
const [message, setMessage] = useState<string>('')
|
||||
|
||||
Reference in new issue
Block a user