Browse Source

Fix typo

closed-social-v3
Eugen Rochko 8 years ago
parent
commit
d6873797ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/reducers/compose.jsx

+ 1
- 1
app/assets/javascripts/components/reducers/compose.jsx View File

@ -23,7 +23,7 @@ export default function compose(state = initialState, action) {
return state.set('is_submitting', true);
case constants.COMPOSE_SUBMIT_SUCCESS:
return state.withMutations(map => {
map.set('text', '').set('is_submitting', false),set('in_reply_to', null);
map.set('text', '').set('is_submitting', false).set('in_reply_to', null);
});
case constants.COMPOSE_SUBMIT_FAIL:
return state.set('is_submitting', false);

Loading…
Cancel
Save