WIP <Compose> Refactor; 1000 tiny edits
This commit is contained in:
parent
b4a3792201
commit
42f50049ff
32 changed files with 873 additions and 795 deletions
|
@ -47,7 +47,6 @@ const initialState = ImmutableMap({
|
|||
focusDate: null,
|
||||
preselectDate: null,
|
||||
in_reply_to: null,
|
||||
is_composing: false,
|
||||
is_submitting: false,
|
||||
is_uploading: false,
|
||||
progress: 0,
|
||||
|
@ -180,9 +179,7 @@ export default function compose(state = initialState, action) {
|
|||
case COMPOSE_MOUNT:
|
||||
return state.set('mounted', true);
|
||||
case COMPOSE_UNMOUNT:
|
||||
return state
|
||||
.set('mounted', false)
|
||||
.set('is_composing', false);
|
||||
return state.set('mounted', false)
|
||||
case COMPOSE_ADVANCED_OPTIONS_CHANGE:
|
||||
return state
|
||||
.set('advanced_options',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue