9 lines
401 B
TypeScript
9 lines
401 B
TypeScript
"use client";
|
|
|
|
import { ErrorState } from "@/components/feedback/error-state";
|
|
|
|
/** Keeps (staff)/layout.tsx's sidebar/bottom nav visible on-screen even when a page below it throws — see src/app/error.tsx for the app-wide fallback this backs up. */
|
|
export default function StaffError({ reset }: { error: Error & { digest?: string }; reset: () => void }) {
|
|
return <ErrorState onRetry={reset} />;
|
|
}
|