feat: enhance error handling in FunnelReportPage by adding specific messages for not found and general load errors, improving user feedback and experience

This commit is contained in:
Usman Baig
2026-02-05 00:04:44 +01:00
parent 0c09c5b97e
commit ceb668890b
2 changed files with 30 additions and 1 deletions

View File

@@ -53,6 +53,11 @@ export default function CreateFunnelPage() {
return
}
if (steps.some(s => !s.name.trim())) {
toast.error('Please enter a name for all steps')
return
}
if (steps.some(s => !s.value.trim())) {
toast.error('Please enter a path for all steps')
return