diff --git a/index.js b/index.js index cd9d840..d993250 100644 --- a/index.js +++ b/index.js @@ -101,7 +101,7 @@ function DottedMap({ height = 0, width = 0, countries = [], region, grid = 'vert } } - CACHE[cacheKey] = points; + CACHE[cacheKey] = { ...points }; } return { diff --git a/package.json b/package.json index 700b6ed..6d92203 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dotted-map", - "version": "1.1.0", + "version": "1.1.1", "description": "", "main": "index.js", "scripts": {