forked from Transparency/kgroad-frontend2
changed
This commit is contained in:
1 parent
76b7a8e6b4
commit
d77846bbbb
13 files changed
+72
-9
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user