From 33b4cb3ed8f8b31929cc6c42e5b964a8b5ce89bc Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Thu, 15 Nov 2018 16:20:03 +0100 Subject: [PATCH] Edit post: Remove old action handler for removed panels in preferences --- packages/edit-post/src/store/reducer.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/edit-post/src/store/reducer.js b/packages/edit-post/src/store/reducer.js index 5dedd3f6cd7a24..a016c701582a90 100644 --- a/packages/edit-post/src/store/reducer.js +++ b/packages/edit-post/src/store/reducer.js @@ -73,17 +73,6 @@ export const preferences = combineReducers( { }, }; } - - case 'REMOVE_PANEL': { - const { panelName } = action; - return { - ...state, - [ panelName ]: { - ...state[ panelName ], - removed: true, - }, - }; - } } return state;