Fix action type for unfollowHashtag (#18924)

lolsob-rspec
Takeshi Umeda 2022-08-25 11:38:01 +09:00 committed by GitHub
parent ae20601c67
commit 207208fa8e
1 changed files with 3 additions and 3 deletions

View File

@ -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,
}); });