AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { t } from 'i18next';
import {
Dialog,
DialogContent,
DialogHeader,
DialogTitle,
} from '@/components/ui/dialog';
import { billingDialogHooks } from '../hooks/billing-dialog-hooks';
import { ConfirmPurchaseDialog } from './confirm-purchase-dialog';
import { PlanSelector } from './plan-selector';
import { PlanSwitchSuccessDialog } from './plan-switch-success-dialog';
export function ManagePlanDialog() {
const { isOpen, closeDialog } = billingDialogHooks.useManagePlanDialogStore();
return (
<>
<Dialog open={isOpen} onOpenChange={(open) => !open && closeDialog()}>
<DialogContent className="max-w-[1100px]">
<DialogHeader>
<DialogTitle>{t('Explore plans')}</DialogTitle>
</DialogHeader>
<PlanSelector enabled={isOpen} onSelected={closeDialog} />
</DialogContent>
</Dialog>
<ConfirmPurchaseDialog />
<PlanSwitchSuccessDialog />
</>
);
}