Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
216 B
TypeScript
8 lines
216 B
TypeScript
"use client";
|
|
|
|
import { ErrorState } from "@/components/ds";
|
|
|
|
export default function Error({ error, reset }: { error: Error; reset: () => void }) {
|
|
return <ErrorState message={error.message} onRetry={reset} />;
|
|
}
|