feat: campaign create error on missing template variables

This commit is contained in:
Abhishek Kumar 2026-03-19 17:52:04 +05:30
parent d8942dffb1
commit e513e563ee
6 changed files with 165 additions and 7 deletions

View file

@ -298,12 +298,14 @@ export default function NewCampaignPage() {
// Handle sheet selection
const handleSheetSelected = (sheetUrl: string) => {
setSourceId(sheetUrl);
setCreateError(null);
};
// Handle CSV file upload
const handleFileUploaded = (fileKey: string, fileName: string) => {
setSourceId(fileKey);
setSelectedFileName(fileName);
setCreateError(null);
};
return (