We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af02721 commit c7e4680Copy full SHA for c7e4680
src/browser/extension/devpanel/index.js
@@ -7,10 +7,10 @@ import DevTools from '../../../app/containers/DevTools';
7
8
const backgroundPageConnection = connect();
9
10
-function dispatch(action) {
+function dispatch(type, action) {
11
chrome.devtools.inspectedWindow.eval(
12
'window.postMessage({' +
13
- 'type: \'DISPATCH\',' +
+ 'type: \'' + type + '\',' +
14
'payload: ' + JSON.stringify(action) + ',' +
15
'source: \'redux-cs\'' +
16
'}, \'*\');',
0 commit comments