251208:0010 Backend & Frontend Debug
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
2025-12-08 00:10:37 +07:00
parent 32d820ea6b
commit dcd126d704
99 changed files with 2775 additions and 1480 deletions

View File

@@ -10,7 +10,7 @@ import Link from "next/link";
import { format } from "date-fns";
interface CorrespondenceListProps {
data: {
data?: {
items: Correspondence[];
total: number;
page: number;
@@ -80,7 +80,7 @@ export function CorrespondenceList({ data }: CorrespondenceListProps) {
return (
<div>
<DataTable columns={columns} data={data.items} />
<DataTable columns={columns} data={data?.items || []} />
{/* Pagination component would go here, receiving props from data */}
</div>
);