added dynamic pagination in reviews-section

This commit is contained in:
Alibek committed 2024-03-01 14:14:32 +06:00
1 parent 0a7513dd89
commit 65a700dad7
5 files changed
+88 -9

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ const ReportDetails = async ({
return res.json();
};
const report: IReport = await getReportDetails();
const report: IReport = (await getReportDetails()) || {};
return (
<div className="report-details page-padding">