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 (