Don't import status from favourite

This commit is contained in:
Alex Gleason 2022-05-18 14:06:22 -05:00
parent 1dae885a10
commit 4866028728
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -149,7 +149,6 @@ export function favourite(status) {
dispatch(favouriteRequest(status));
api(getState).post(`/api/v1/statuses/${status.get('id')}/favourite`).then(function(response) {
dispatch(importFetchedStatus(response.data));
dispatch(favouriteSuccess(status));
}).catch(function(error) {
dispatch(favouriteFail(status, error));