File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/browser/extension/background Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import openDevToolsWindow from './openWindow';
33import { toContentScript } from './messaging' ;
44import createMenu from './contextMenus' ;
55
6- const store = createDevStore ( ( action ) => {
7- toContentScript ( action ) ;
6+ const store = createDevStore ( ( action , instance ) => {
7+ toContentScript ( action , instance ) ;
88} ) ;
99
1010window . store = store ;
Original file line number Diff line number Diff line change @@ -126,10 +126,8 @@ chrome.notifications.onClicked.addListener(id => {
126126 if ( id === 'redux-error' ) openDevToolsWindow ( 'devtools-right' ) ;
127127} ) ;
128128
129- export function toContentScript ( action ) {
129+ export function toContentScript ( action , id ) {
130130 const message = { type : 'DISPATCH' , action : action } ;
131- let id = store . liftedStore . instance ;
132- if ( ! id || id === 'auto' ) id = store . id ;
133131 if ( id in panelConnections ) {
134132 panelConnections [ id ] . postMessage ( message ) ;
135133 } else {
You can’t perform that action at this time.
0 commit comments