diff --git a/app/javascript/flavours/glitch/actions/interactions.js b/app/javascript/flavours/glitch/actions/interactions.js index 97cefaa207..3717fe5a1e 100644 --- a/app/javascript/flavours/glitch/actions/interactions.js +++ b/app/javascript/flavours/glitch/actions/interactions.js @@ -413,11 +413,11 @@ export const addReaction = (statusId, name) => (dispatch, getState) => { } } if (!alreadyAdded) { - dispatch(addReactionRequest(statusId, name, alreadyAdded)); + dispatch(addReactionRequest(statusId, name)); } api(getState).post(`/api/v1/statuses/${statusId}/react/${name}`).then(() => { - dispatch(addReactionSuccess(statusId, name, alreadyAdded)); + dispatch(addReactionSuccess(statusId, name)); }).catch(err => { if (!alreadyAdded) { dispatch(addReactionFail(statusId, name, err)); diff --git a/app/javascript/mastodon/actions/interactions.js b/app/javascript/mastodon/actions/interactions.js index c2672845ec..b06c0457f3 100644 --- a/app/javascript/mastodon/actions/interactions.js +++ b/app/javascript/mastodon/actions/interactions.js @@ -433,11 +433,11 @@ export const addReaction = (statusId, name) => (dispatch, getState) => { } } if (!alreadyAdded) { - dispatch(addReactionRequest(statusId, name, alreadyAdded)); + dispatch(addReactionRequest(statusId, name)); } api(getState).post(`/api/v1/statuses/${statusId}/react/${name}`).then(() => { - dispatch(addReactionSuccess(statusId, name, alreadyAdded)); + dispatch(addReactionSuccess(statusId, name)); }).catch(err => { if (!alreadyAdded) { dispatch(addReactionFail(statusId, name, err));