From: Takeshi Umeda Date: Thu, 25 Aug 2022 02:38:01 +0000 (+0900) Subject: Fix action type for unfollowHashtag (#18924) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f9e4218041207b66c6c9bd6db474cc60af510482;p=mastodon.git Fix action type for unfollowHashtag (#18924) --- diff --git a/app/javascript/mastodon/actions/tags.js b/app/javascript/mastodon/actions/tags.js index 216e5b541..37e79d4cb 100644 --- a/app/javascript/mastodon/actions/tags.js +++ b/app/javascript/mastodon/actions/tags.js @@ -75,18 +75,18 @@ export const unfollowHashtag = name => (dispatch, getState) => { }; export const unfollowHashtagRequest = name => ({ - type: HASHTAG_FETCH_REQUEST, + type: HASHTAG_UNFOLLOW_REQUEST, name, }); export const unfollowHashtagSuccess = (name, tag) => ({ - type: HASHTAG_FETCH_SUCCESS, + type: HASHTAG_UNFOLLOW_SUCCESS, name, tag, }); export const unfollowHashtagFail = (name, error) => ({ - type: HASHTAG_FETCH_FAIL, + type: HASHTAG_UNFOLLOW_FAIL, name, error, });