From 20da5e8735d9dcf02602ca7d7d4ef3db7a38c697 Mon Sep 17 00:00:00 2001 From: Akos Olasz Date: Mon, 26 Apr 2021 09:44:15 +0200 Subject: [PATCH] Fix exception when hovering at the edge of the globe --- src/globe.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/globe.js b/src/globe.js index e62a6cd3..cfa8171b 100644 --- a/src/globe.js +++ b/src/globe.js @@ -380,6 +380,8 @@ export default Kapsule({ }; const globeObj = getGlobeObj(obj); + if (!globeObj) return ''; + const objType = globeObj.__globeObjType; return globeObj && objAccessors.hasOwnProperty(objType) && dataAccessors.hasOwnProperty(objType)