TorbatYar/frontend/app/loyalty/engage/error.tsx
Mortezakoohjani d579d0b142 feat(loyalty): add Loyalty Platform Frontend module
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>
2026-07-27 10:50:55 +03:30

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} />;
}