about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/tags.js
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2022-08-25 11:38:01 +0900
committerClaire <claire.github-309c@sitedethib.com>2022-08-25 05:11:55 +0200
commit68564a622ca812f7ce512aaa02d8dccfb9c70a1e (patch)
tree51c280115db780dec311ca870e710806b1887d15 /app/javascript/flavours/glitch/actions/tags.js
parent2d1d4210f9d394ea8e7357df08f8ca2cc925384a (diff)
[Glitch] Fix action type for unfollowHashtag
Port 5d70a16a1417e53b0c6cc97def9688fda21f337c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/actions/tags.js')
-rw-r--r--app/javascript/flavours/glitch/actions/tags.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/actions/tags.js b/app/javascript/flavours/glitch/actions/tags.js
index 3933da8ba..4016cf96f 100644
--- a/app/javascript/flavours/glitch/actions/tags.js
+++ b/app/javascript/flavours/glitch/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,
 });