]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix action type for unfollowHashtag
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Thu, 25 Aug 2022 02:38:01 +0000 (11:38 +0900)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:28:01 +0000 (00:28 -0400)
Port 5d70a16a1417e53b0c6cc97def9688fda21f337c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/actions/tags.js

index 3933da8ba6b93c4fd275eeb4d7b7719c53056bf7..4016cf96fc5bf8adac58a152ba20801932530111 100644 (file)
@@ -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,
 });