import React from 'react';
import { useAdmin } from '../../context/AdminContext';
import CampaignWizard from '../wizard/CampaignWizard';

export default function NewCampaignPanel() {
    const { setActiveTab, wizardId } = useAdmin();
    return (
        <CampaignWizard
            wizardId={wizardId || null}
            onClose={() => setActiveTab('myCampaigns')}
        />
    );
}
