X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c9687b102bb6f544a034dc4d508bf0ae4a5fc221..2a34127a122a0d415a1cabb8de8e80a91b3dc017:/src/pages/PolygonsPage.svelte
diff --git a/src/pages/PolygonsPage.svelte b/src/pages/PolygonsPage.svelte
index 76025b2..0dc8a20 100644
--- a/src/pages/PolygonsPage.svelte
+++ b/src/pages/PolygonsPage.svelte
@@ -3,10 +3,12 @@
import { fetch_from_api, update_html_title } from '../lib/api_utils.js';
import { formatOSMType, osmLink } from '../lib/helpers.js';
+ import Header from '../components/Header.svelte';
+
let aPolygons = [];
function loaddata() {
- fetch_from_api('polygons', {format: 'json'}, function(data){
+ fetch_from_api('polygons', { format: 'json' }, function (data) {
aPolygons = data;
});
update_html_title('Broken polygons');
@@ -14,7 +16,7 @@
onMount(loaddata);
-
+