tshaddix / webext-redux

A set of utilities for building Redux applications in Web Extensions.
MIT License
1.23k stars 180 forks source link

typo at alias wiki #241

Closed ulvido closed 4 years ago

ulvido commented 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
};
tshaddix commented 4 years ago

Good call out, thank you. I'll fix.