0
0
Fork 0

WIP <Compose> Refactor; 1000 tiny edits

This commit is contained in:
kibigo! 2018-01-03 12:36:21 -08:00
parent b4a3792201
commit 42f50049ff
32 changed files with 873 additions and 795 deletions

View file

@ -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',