From 84af4c58451236b65dec63b8221b07fa848917d6 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Tue, 3 Nov 2020 16:38:26 +1100 Subject: [PATCH] Removed unused props from map drawing and fog --- src/components/map/Map.js | 2 -- src/components/map/MapDrawing.js | 1 - src/components/map/MapFog.js | 1 - 3 files changed, 4 deletions(-) diff --git a/src/components/map/Map.js b/src/components/map/Map.js index 78fc6bf..7a35759 100644 --- a/src/components/map/Map.js +++ b/src/components/map/Map.js @@ -311,7 +311,6 @@ function Map({ onShapeAdd={handleMapShapeAdd} onShapesRemove={handleMapShapesRemove} active={selectedToolId === "drawing"} - toolId="drawing" toolSettings={settings.drawing} gridSize={gridSizeNormalized} /> @@ -326,7 +325,6 @@ function Map({ onShapesRemove={handleFogShapesRemove} onShapesEdit={handleFogShapesEdit} active={selectedToolId === "fog"} - toolId="fog" toolSettings={settings.fog} gridSize={gridSizeNormalized} transparent={allowFogDrawing && !settings.fog.preview} diff --git a/src/components/map/MapDrawing.js b/src/components/map/MapDrawing.js index 67362aa..8e8f71e 100644 --- a/src/components/map/MapDrawing.js +++ b/src/components/map/MapDrawing.js @@ -23,7 +23,6 @@ function MapDrawing({ onShapeAdd, onShapesRemove, active, - toolId, toolSettings, gridSize, }) { diff --git a/src/components/map/MapFog.js b/src/components/map/MapFog.js index e183071..f209914 100644 --- a/src/components/map/MapFog.js +++ b/src/components/map/MapFog.js @@ -30,7 +30,6 @@ function MapFog({ onShapesRemove, onShapesEdit, active, - toolId, toolSettings, gridSize, transparent,