Remove sender on dispatch

jh-changes
Shin'ya Ueoka 7 years ago
parent 84a9655bb3
commit 62d3c09f61
  1. 6
      src/background/components/background.js

@ -31,14 +31,12 @@ export default class BackgroundComponent {
let action = tabActions.openNewTab(
message.url, sender.tab.id, message.background,
settings.value.properties.adjacenttab);
return this.store.dispatch(action, sender);
return this.store.dispatch(action);
}
return this.store.dispatch(
tabActions.openToTab(message.url, sender.tab), sender);
return this.store.dispatch(tabActions.openToTab(message.url, sender.tab));
case messages.CONSOLE_ENTER_COMMAND:
this.store.dispatch(
commandActions.exec(sender.tab, message.text, settings.value),
sender
);
return this.broadcastSettingsChanged();
case messages.SETTINGS_QUERY: