mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 20:15:10 +01:00
Better responsiveness
This commit is contained in:
parent
9d9f796130
commit
d4559402e4
@ -71,6 +71,7 @@ export function submitCompose() {
|
||||
}).then(function (response) {
|
||||
dispatch(submitComposeSuccess(response.data));
|
||||
dispatch(updateTimeline('home', response.data));
|
||||
dispatch(updateTimeline('public', response.data));
|
||||
}).catch(function (error) {
|
||||
dispatch(submitComposeFail(error));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user