mirror of
https://github.com/mastodon/mastodon.git
synced 2026-07-29 10:57:38 -05:00
Fix typo in quotes list error handling (#39904)
This commit is contained in:
parent
193a6f3856
commit
45cc65bb7f
|
|
@ -159,7 +159,7 @@ export default function statusLists(state = initialState, action) {
|
|||
else if (fetchQuotes.pending.match(action))
|
||||
return state.setIn(['quotes', 'isLoading'], true).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
||||
else if (fetchQuotes.rejected.match(action))
|
||||
return state.setIn(['quotes', 'isLoading', false]).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
||||
return state.setIn(['quotes', 'isLoading'], false).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
||||
else
|
||||
return state;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user