We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a19eab commit 915ae95Copy full SHA for 915ae95
src/admin/ListSites.tsx
@@ -31,7 +31,7 @@ const parseSitesFromJSON = (jsonString: string): Site[] => {
31
address: site.address,
32
cell_id: site.cell_id,
33
color: site.color,
34
- boundary: site.boundary?.map((point: any) => [point.lat, point.lng] as [number, number]) ?? undefined,
+ boundary: site.boundary?.map((point: any) => [point[0], point[1]] as [number, number]) ?? undefined,
35
};
36
});
37
0 commit comments