Skip to content
Snippets Groups Projects
Unverified Commit ebf1d74e authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix being stuck in edit mode when deleting the edited status (#22126)

parent 8556a649
No related branches found
No related tags found
No related merge requests found
......@@ -431,6 +431,8 @@ export default function compose(state = initialState, action) {
case TIMELINE_DELETE:
if (action.id === state.get('in_reply_to')) {
return state.set('in_reply_to', null);
} else if (action.id === state.get('id')) {
return state.set('id', null);
} else {
return state;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment