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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user