mirror of
https://github.com/mastodon/mastodon.git
synced 2026-03-21 18:05:23 -05:00
removes the reply instead of resetting the composer
This commit is contained in:
parent
284c53f439
commit
c0f5ea29fb
|
|
@ -446,6 +446,7 @@ export const composeReducer = (state = initialState, action) => {
|
|||
return state.set('is_submitting', true);
|
||||
|
||||
case COMPOSE_REPLY_CANCEL:
|
||||
return state.set('in_reply_to', null);
|
||||
case COMPOSE_RESET:
|
||||
case COMPOSE_SUBMIT_SUCCESS:
|
||||
return clearAll(state);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user