feat(journeys): add skeleton and error boundary

This commit is contained in:
Usman Baig
2026-03-12 21:36:27 +01:00
parent e7e76bb3db
commit b3e335ec6c
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
'use client'
import ErrorDisplay from '@/components/ErrorDisplay'
export default function JourneysError({ reset }: { error: Error; reset: () => void }) {
return (
<ErrorDisplay
title="Journeys failed to load"
message="We couldn't load the journey data. This might be a temporary issue — try again."
onRetry={reset}
/>
)
}