mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Reverts the pricing page flexibility/visibility A/B experiment from #44293. We decided to keep the control (original pricing page). **Changes:** - `PricingPlansSection.tsx`: removed all experiment logic (PostHog flag evaluation, exposure tracking, flexibility section) - `PricingContent.tsx`: removed `PricingPageExperimentVariant` type export - `PricingPlans.tsx`: removed `experimentVariant` prop and all variant-conditional rendering - `telemetry-constants.ts`: removed `PricingPageExperimentExposedEvent` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Consolidated pricing page component variants and simplified the component hierarchy by removing conditional experiment-dependent UI branches. * Removed pricing page experiment tracking and associated telemetry event definitions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
17 lines
449 B
TypeScript
17 lines
449 B
TypeScript
'use client'
|
|
|
|
import PricingPlans from '~/components/Pricing/PricingPlans'
|
|
import { useOrganizations } from '~/data/organizations'
|
|
|
|
export default function PricingPlansSection() {
|
|
const { isLoading, organizations } = useOrganizations()
|
|
const hasExistingOrganizations = !isLoading && organizations.length > 0
|
|
|
|
return (
|
|
<PricingPlans
|
|
organizations={organizations}
|
|
hasExistingOrganizations={hasExistingOrganizations}
|
|
/>
|
|
)
|
|
}
|