This commit is contained in:
IGNY8 VPS (Salman)
2025-11-29 07:20:26 +00:00
parent 341650bddc
commit 4bea79a76d
21 changed files with 443 additions and 1065 deletions

View File

@@ -109,6 +109,11 @@ export default function Review() {
setCurrentPage(1);
}, [sortBy]);
// Handle row click - navigate to content view
const handleRowClick = useCallback((row: Content) => {
navigate(`/writer/content/${row.id}`);
}, [navigate]);
// Build page config
const pageConfig = useMemo(() =>
createReviewPageConfig({
@@ -118,8 +123,9 @@ export default function Review() {
statusFilter,
setStatusFilter,
setCurrentPage,
onRowClick: handleRowClick,
}),
[activeSector, searchTerm, statusFilter]
[activeSector, searchTerm, statusFilter, handleRowClick]
);
// Header metrics (calculated from loaded data)