mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-29 22:29:02 +01:00
Fix typo
This commit is contained in:
parent
dbae8062f4
commit
d6873797ac
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export default function compose(state = initialState, action) {
|
||||||
return state.set('is_submitting', true);
|
return state.set('is_submitting', true);
|
||||||
case constants.COMPOSE_SUBMIT_SUCCESS:
|
case constants.COMPOSE_SUBMIT_SUCCESS:
|
||||||
return state.withMutations(map => {
|
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:
|
case constants.COMPOSE_SUBMIT_FAIL:
|
||||||
return state.set('is_submitting', false);
|
return state.set('is_submitting', false);
|
||||||
|
|
Loading…
Reference in a new issue