Skip to content

Commit

Permalink
Edit post: Remove old action handler for removed panels in preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Nov 15, 2018
1 parent ca80d2a commit 33b4cb3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/edit-post/src/store/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ export const preferences = combineReducers( {
},
};
}

case 'REMOVE_PANEL': {
const { panelName } = action;
return {
...state,
[ panelName ]: {
...state[ panelName ],
removed: true,
},
};
}
}

return state;
Expand Down

0 comments on commit 33b4cb3

Please sign in to comment.