Skip to content

Commit

Permalink
chore: ignore the action in the message for now we still use type
Browse files Browse the repository at this point in the history
  • Loading branch information
bumi committed Mar 31, 2022
1 parent ad399ca commit 34a178f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension/background-script/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const routeCalls = (message, sender) => {
}
const debug = state.getState().settings.debug;

const action = message.type || message.action; // TODO: what is a good message format to route to an action?
const action = message.type; //|| message.action; // TODO: what is a good message format to route to an action?
console.log(`Routing call: ${action}`);
// Potentially check for internal vs. public calls
const call = router(action)(message, sender);
Expand Down

0 comments on commit 34a178f

Please sign in to comment.