From 2efedf16cfaff3a033586d63b229bd872a621191 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Fri, 18 Jun 2021 14:19:51 +0200 Subject: readmeUpdate(frontend) --- client/src/map.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/src') 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)); -- cgit v1.2.3