Skip to content

Commit

Permalink
Update name of selector to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve committed Dec 5, 2018
1 parent f3b5a5d commit d99720c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _inc/client/state/jitm/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const fetchJitm = ( message_path = '', query_url = 'page=jetpack' ) => {
};
};

export const dismissJitm = ( id, feature_class ) => {
export const getJitmDismissalResponse = ( id, feature_class ) => {
return dispatch => {
dispatch( {
type: JITM_DISMISS
Expand Down
2 changes: 1 addition & 1 deletion _inc/client/state/jitm/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ export function getJitm( state ) {
* @param {Object} state Global state tree
* @return {Object} Response
*/
export function dismissJitm( state ) {
export function getJitmDismissalResponse( state ) {
return get( state.jetpack.jitm, [ 'data', 'response' ], {} );
}

0 comments on commit d99720c

Please sign in to comment.