fix: cache

This commit is contained in:
Basile Bruneau
2020-05-06 23:48:41 +02:00
parent ec62e5f75a
commit 05859e2463
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ function DottedMap({ height = 0, width = 0, countries = [], region, grid = 'vert
} }
} }
CACHE[cacheKey] = points; CACHE[cacheKey] = { ...points };
} }
return { return {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dotted-map", "name": "dotted-map",
"version": "1.1.0", "version": "1.1.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {