From dfce8dee05c34258dcffa49be126b3479d8db128 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Thu, 25 Jun 2020 18:57:12 +1000 Subject: [PATCH] Fixed possible render bug --- src/components/map/MapFog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/MapFog.js b/src/components/map/MapFog.js index 14c4bce..7a03c81 100644 --- a/src/components/map/MapFog.js +++ b/src/components/map/MapFog.js @@ -368,7 +368,7 @@ function MapFog({ function renderPolygonAcceptTick(shape) { if (shape.data.points.length === 0) { - return; + return null; } const isCross = shape.data.points.length < 4; return (