This commit is contained in:
Alibek committed 2024-02-19 17:20:52 +06:00
1 parent 76b7a8e6b4
commit d77846bbbb
13 files changed
+72 -9

No files matched your search

+3 -3
View File
@@ -35,9 +35,9 @@ const MapSection: React.FC<IMapSectionProps> = async ({
return res.data;
};
const data = await getReports(
searchParams["тип-дороги"] || "1,2,3,4,5,6"
);
const data =
(await getReports(searchParams["тип-дороги"] || "1,2,3,4,5,6")) ||
[];
const setCategories = (category: string) => {
if (searchParams["тип-дороги"] === undefined) {