From 6d27fcb5d8517ab97462617b3fdea0c0ebd5b78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 9 Apr 2020 23:15:34 +0200 Subject: [PATCH] Globe: Rename instance --- src/molecules/InteractiveGlobe.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/molecules/InteractiveGlobe.svelte b/src/molecules/InteractiveGlobe.svelte index 150a493..5b9edc4 100644 --- a/src/molecules/InteractiveGlobe.svelte +++ b/src/molecules/InteractiveGlobe.svelte @@ -25,11 +25,11 @@ // For browser only if (process.browser) { // Import libraries and code - let WebglGlobe - await import('globe').then(module => WebglGlobe = module.default) + let Globe + await import('globe').then(module => Globe = module.default) // Init the globe from library - globe = new WebglGlobe({ + globe = new Globe({ el: scope, texture: '/img/globe/map-2k.png', markers: [...$locations.map(location => {