summaryrefslogtreecommitdiff
path: root/client/src/map.js
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2021-06-18 14:19:51 +0200
committerMike Vink <mike1994vink@gmail.com>2021-06-18 14:19:51 +0200
commit2efedf16cfaff3a033586d63b229bd872a621191 (patch)
tree248ac394ff210b7d8ceb08bcdcfb12f2c45db3d6 /client/src/map.js
parenta0190e76f6a24eb3332f8fcbba45b3712680e361 (diff)
readmeUpdate(frontend)feature
Diffstat (limited to 'client/src/map.js')
-rw-r--r--client/src/map.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/map.js b/client/src/map.js
index 6af7619..100d50d 100644
--- a/client/src/map.js
+++ b/client/src/map.js
@@ -1,4 +1,7 @@
-import { fetchAttractions } from "./utils.js"
+import {
+ fetchAttractions,
+ displayNumberOfItemsInShoppingBasketWithBadge,
+} from "./utils.js"
import { ParkArticle } from "./templateImplementations.js"
// replace "toner" here with "terrain" or "watercolor"
@@ -33,5 +36,6 @@ function addMarkersForAttractions(map) {
}
+displayNumberOfItemsInShoppingBasketWithBadge();
fetchAttractions()
.then(addMarkersForAttractions(map));