diff --git a/src/api.ts b/src/api.ts index 85f4094..ba46716 100644 --- a/src/api.ts +++ b/src/api.ts @@ -5,7 +5,7 @@ import { DynmapComponentConfig, DynmapConfigurationResponse, DynmapLine, - DynmapMap, + DynmapWorldMap, DynmapMarker, DynmapMarkerSet, DynmapMarkerSetUpdates, @@ -60,7 +60,7 @@ function buildWorlds(response: AxiosResponse): Array { worlds: Array = []; (data.worlds || []).forEach((world: any) => { - const maps: Map = new Map(); + const maps: Map = new Map(); (world.maps || []).forEach((map: any) => { maps.set(map.name, { diff --git a/src/components/Map.vue b/src/components/Map.vue index c3c9637..e24f84f 100644 --- a/src/components/Map.vue +++ b/src/components/Map.vue @@ -14,7 +14,6 @@