fix: release 2.2.2

This commit is contained in:
Basile Bruneau
2022-02-12 20:53:50 +01:00
parent 0e42830e29
commit 1ee4354b9e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dotted-map", "name": "dotted-map",
"version": "2.2.1", "version": "2.2.2",
"description": "Create a SVG map filled with dots for the world or countries", "description": "Create a SVG map filled with dots for the world or countries",
"main": "./index.js", "main": "./index.js",
"exports": { "exports": {
+1 -1
View File
@@ -20,7 +20,7 @@ function DottedMapWithoutCountries({ map, avoidOuterPins = false }) {
const pin = this.getPin({ lat, lng }); const pin = this.getPin({ lat, lng });
const point = { ...pin, data, svgOptions }; const point = { ...pin, data, svgOptions };
points[[x, y].join(';')] = point; points[[point.x, point.y].join(';')] = point;
return point; return point;
}, },