Closed ulvido closed 4 years ago
orginalAction >> originalAction
// aliases.js const getSession = (orginalAction) => { return (dispatch, getState) => { originalAction.payload = getState().session[originalAction._sender.tab.id]; return originalAction; } }; export default { 'GET_SESSION': getSession // the action to proxy and the new action to call };
Good call out, thank you. I'll fix.
orginalAction >> originalAction