14 lines
361 B
TypeScript
14 lines
361 B
TypeScript
'use client'
|
|
|
|
import ErrorDisplay from '@/components/ErrorDisplay'
|
|
|
|
export default function ShareError({ reset }: { error: Error; reset: () => void }) {
|
|
return (
|
|
<ErrorDisplay
|
|
title="Dashboard failed to load"
|
|
message="We couldn't load this public dashboard. It may be temporarily unavailable — try again."
|
|
onRetry={reset}
|
|
/>
|
|
)
|
|
}
|