From 78ac5e68c85b0b58446331cfee7fbc5fe3868762 Mon Sep 17 00:00:00 2001 From: gluap Date: Fri, 28 Oct 2022 12:04:46 +0200 Subject: [PATCH] fix build errrors detected by sonarcloud --- frontend/src/pages/MapPage/index.tsx | 1 - frontend/src/reducers/mapConfig.ts | 7 ------- 2 files changed, 8 deletions(-) diff --git a/frontend/src/pages/MapPage/index.tsx b/frontend/src/pages/MapPage/index.tsx index a57fb44..6850c41 100644 --- a/frontend/src/pages/MapPage/index.tsx +++ b/frontend/src/pages/MapPage/index.tsx @@ -50,7 +50,6 @@ const untaggedRoadsLayer = { ["*", ["get", "offset_direction"], 8], ], }, - minzoom: 12, }; const getUntaggedRoadsLayer = (colorAttribute, maxCount) => diff --git a/frontend/src/reducers/mapConfig.ts b/frontend/src/reducers/mapConfig.ts index ced5802..2fc1346 100644 --- a/frontend/src/reducers/mapConfig.ts +++ b/frontend/src/reducers/mapConfig.ts @@ -69,13 +69,6 @@ export const initialState: MapConfig = { obsRegions: { show: true, }, - filters: { - currentUser: false, - dateMode: "none", - startDate: null, - endDate: null, - thresholdAfter: true, - }, }; type MapConfigAction = {