made breadcrumbs

This commit is contained in:
Alibek committed 2024-03-01 19:54:03 +06:00
1 parent 65a700dad7
commit 5330f21a73
20 files changed
+218 -48

No files matched your search

+2 -1
View File
@@ -25,6 +25,7 @@ const ReportDetails = async ({
}: {
params: { id: string };
}) => {
console.log(JSON.parse(params.id));
const getReportDetails = async () => {
const res = await fetch(
`${process.env.NEXT_PUBLIC_BASE_API}/report/${params.id}/`,
@@ -37,7 +38,7 @@ const ReportDetails = async ({
return (
<div className="report-details page-padding">
<BreadCrumbs />
<BreadCrumbs homeRequired />
<div className="report-details__container">
<ReportInformation
id={report.id}