fix: improve error messaging for various components to provide clearer feedback on failures

This commit is contained in:
Usman Baig
2026-02-22 19:17:20 +01:00
parent ac6a9429d4
commit 156d9986df
15 changed files with 25 additions and 24 deletions

View File

@@ -64,7 +64,7 @@ export default function FunnelReportPage() {
if (status === 404) setLoadError('not_found')
else if (status === 403) setLoadError('forbidden')
else setLoadError('error')
if (status !== 404 && status !== 403) toast.error('Failed to load funnel data')
if (status !== 404 && status !== 403) toast.error('Failed to load funnel details')
} finally {
setLoading(false)
}