Skip to content

Commit 822d26a

Browse files
committed
Fix importing state
Fix #262.
1 parent b9fd730 commit 822d26a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/middlewares/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ function toMonitors(action, tabId, verbose) {
2727
});
2828
}
2929

30-
function toContentScript({ message, action, id, instanceId }) {
30+
function toContentScript({ message, action, id, instanceId, state }) {
3131
connections.tab[id].postMessage({
3232
type: message,
3333
action,
34-
state: nonReduxDispatch(window.store, message, instanceId, action),
34+
state: nonReduxDispatch(window.store, message, instanceId, action, state),
3535
id: instanceId
3636
});
3737
}

0 commit comments

Comments
 (0)