about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2022-08-25 11:38:01 +0900
committerGitHub <noreply@github.com>2022-08-25 04:38:01 +0200
commit5d70a16a1417e53b0c6cc97def9688fda21f337c (patch)
tree573b81156a030ba5b71746927f52a7cc400037ad
parent66b8abf218a87e65fab8a7fae6fc6ea73c41d750 (diff)
Fix action type for unfollowHashtag (#18924)
-rw-r--r--app/javascript/mastodon/actions/tags.js6
1 files changed, 3 insertions, 3 deletions
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,
 });