Add frontend/modules/loyalty with types, API client, design system, feature pages and thin App Router routes under app/loyalty/. BFF proxy at app/api/loyalty/. Include loyalty frontend docs. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
299 B
TypeScript
14 lines
299 B
TypeScript
"use client";
|
|
|
|
import { ErrorState } from "@/components/ds";
|
|
|
|
export default function Error({
|
|
error,
|
|
reset,
|
|
}: {
|
|
error: Error & { digest?: string };
|
|
reset: () => void;
|
|
}) {
|
|
return <ErrorState message={error.message || "خطای صفحه وفاداری"} onRetry={reset} />;
|
|
}
|