// @ts-nocheck import { Check } from 'lucide-react' import { PricingInformation } from 'shared-data' import { Button, cn } from 'ui' import { useSendEventMutation } from '@/data/telemetry/send-event-mutation' import { useSelectedOrganizationQuery } from '@/hooks/misc/useSelectedOrganization' export interface EnterpriseCardProps { plan: PricingInformation isCurrentPlan: boolean } export const EnterpriseCard = ({ plan, isCurrentPlan }: EnterpriseCardProps) => { const { data: selectedOrganization } = useSelectedOrganizationQuery() const orgSlug = selectedOrganization?.slug const features = plan.features const currentPlan = selectedOrganization?.plan.name const { mutate: sendEvent } = useSendEventMutation() return (
{plan.name}
{isCurrentPlan ? ({plan.description}