Created
August 9, 2015 05:52
-
-
Save iammerrick/6de32ba74c84b5518ee7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ActionConstants from '../ActionConstants'; | |
import {dispatch} from '../store' | |
import { bindActionCreators } from 'redux'; | |
export default bindActionCreators({ | |
setCurrentPlan: function (planId) { | |
return { | |
type: ActionConstants.SET_CURRENT_PLAN, | |
payload: { | |
id: planId | |
} | |
}; | |
} | |
}, dispatch); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment