import React from "react"; import { Button } from "@/components/ui/button"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { useCheckoutWizard } from "../WizardContext"; import { useTranslation } from 'react-i18next'; interface ConfirmationStepProps { onViewProfile?: () => void; } export const ConfirmationStep: React.FC = ({ onViewProfile }) => { const { t } = useTranslation('marketing'); const { selectedPackage } = useCheckoutWizard(); return (
{t('checkout.confirmation_step.welcome')} {t('checkout.confirmation_step.package_activated', { name: selectedPackage?.name || '' })} {t('checkout.confirmation_step.email_sent')}
); };