From c5cd0217337c1bfba60356c2af028d1941de6d44 Mon Sep 17 00:00:00 2001 From: Anton Nazarenko Date: Thu, 3 Dec 2020 10:28:50 +0200 Subject: [PATCH] fix:strategy content now stores in "content" field --- src/redux/reducers/ui/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/redux/reducers/ui/index.js b/src/redux/reducers/ui/index.js index 7c4fe353b..edde44dcc 100644 --- a/src/redux/reducers/ui/index.js +++ b/src/redux/reducers/ui/index.js @@ -230,7 +230,10 @@ function reducer(state = getInitialState(), action = {}) { const { content = {} } = payload return { ...state, - ...content, + content: { + ...content, + ...state.content, + }, } } case types.UPDATE_STRATEGY_ID: {