fix reports view page

This commit is contained in:
Dobromir Popov
2024-03-03 14:02:09 +02:00
parent a8ee2bcc97
commit 636b68d44f

View File

@ -43,7 +43,7 @@ export default function Reports() {
const { data } = await axiosInstance.get("/api/data/locations");
setLocations(data);
console.log(data);
axiosInstance.get(`api/data/reports`)
axiosInstance.get(`/api/data/reports`)
.then((res) => {
let reports = res.data;
reports.forEach((report) => {