import { MarketingWorkbench } from "./marketing/MarketingWorkbench";

interface MarketingManagerProps {
  onNavigate?: (tab: string) => void;
  defaultTab?: string;
}

export function MarketingManager({ onNavigate, defaultTab }: MarketingManagerProps) {
  return <MarketingWorkbench onNavigate={onNavigate} defaultView={defaultTab === "coupons" ? "coupons" : "dashboard"} />;
}
