From 43d3a4cc020d38fea3035a215ee4f2a33363399b Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Sun, 20 Jun 2021 15:32:38 +1000 Subject: [PATCH] Update no fog to cut message --- src/components/map/MapFog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/map/MapFog.js b/src/components/map/MapFog.js index 3d1d988..7614328 100644 --- a/src/components/map/MapFog.js +++ b/src/components/map/MapFog.js @@ -239,7 +239,7 @@ function MapFog({ const state = cutAction.execute(keyBy(shapes, "id")); if (Object.keys(state).length === shapes.length) { - onShapeError("No fog found to cut"); + onShapeError("No fog to cut"); } else { onShapesCut( drawingShapes.map((shape) => ({ @@ -409,7 +409,7 @@ function MapFog({ const state = cutAction.execute(keyBy(shapes, "id")); if (Object.keys(state).length === shapes.length) { - onShapeError("No fog found to cut"); + onShapeError("No fog to cut"); } else { onShapesCut(polygonShapes); }