diff --git a/app/javascript/flavours/glitch/actions/interactions.js b/app/javascript/flavours/glitch/actions/interactions.js index 97cefaa20..3717fe5a1 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 8619232a5..8f2335ce9 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));