mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 21:33:21 +00:00
[Glitch] Fix action type for unfollowHashtag
Port 5d70a16a14
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
2d1d4210f9
commit
68564a622c
|
@ -75,18 +75,18 @@ export const unfollowHashtag = name => (dispatch, getState) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const unfollowHashtagRequest = name => ({
|
export const unfollowHashtagRequest = name => ({
|
||||||
type: HASHTAG_FETCH_REQUEST,
|
type: HASHTAG_UNFOLLOW_REQUEST,
|
||||||
name,
|
name,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const unfollowHashtagSuccess = (name, tag) => ({
|
export const unfollowHashtagSuccess = (name, tag) => ({
|
||||||
type: HASHTAG_FETCH_SUCCESS,
|
type: HASHTAG_UNFOLLOW_SUCCESS,
|
||||||
name,
|
name,
|
||||||
tag,
|
tag,
|
||||||
});
|
});
|
||||||
|
|
||||||
export const unfollowHashtagFail = (name, error) => ({
|
export const unfollowHashtagFail = (name, error) => ({
|
||||||
type: HASHTAG_FETCH_FAIL,
|
type: HASHTAG_UNFOLLOW_FAIL,
|
||||||
name,
|
name,
|
||||||
error,
|
error,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue