Update maps and tokens to have thumbnails and removed loading of all files on load
This commit is contained in:
@@ -17,11 +17,7 @@ function MapTile({
|
||||
}) {
|
||||
const isDefault = map.type === "default";
|
||||
const mapSource = useDataSource(
|
||||
isDefault
|
||||
? map
|
||||
: map.resolutions && map.resolutions.low
|
||||
? map.resolutions.low
|
||||
: map,
|
||||
isDefault ? map : map.thumbnail,
|
||||
defaultMapSources,
|
||||
unknownSource
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user