From 9a4c68fbb803918ddbd69e3e5723d2f5bfb0b3d6 Mon Sep 17 00:00:00 2001 From: Friedjoff Trautwein Date: Wed, 18 Mar 2020 08:19:36 +0100 Subject: [PATCH] fix: initial value for projectionResult --- src/store/reducers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/reducers.js b/src/store/reducers.js index 4cbdbc9f..ea8ec4a7 100644 --- a/src/store/reducers.js +++ b/src/store/reducers.js @@ -20,7 +20,7 @@ export const initialState = { mapView: '9|910001|5947112', projectionMode: 'm', projectionOptions: {}, - projectionResult: { options: {}, projections: [] }, + projectionResult: [{ options: {}, projections: [] }], targetAltitudinalZone: null, welcomeModalOpen: localStorage.getItem('tree.welcomeModal') !== 'close', };