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 598c160 commit c63e11eCopy full SHA for c63e11e
src/browser/extension/background/messaging.js
@@ -1,4 +1,5 @@
1
import { onConnect, onMessage, sendToTab } from 'crossmessaging';
2
+import { stringify } from 'circular-json';
3
import parseJSON from '../utils/parseJSON';
4
import syncOptions from '../options/syncOptions';
5
import createMenu from './contextMenus';
@@ -17,7 +18,7 @@ const naMessage = {
17
18
onConnect((tabId) => {
19
if (tabId !== store.id) return naMessage;
20
return {
- payload: window.store.liftedStore.getState(),
21
+ payload: stringify(window.store.liftedStore.getState()),
22
source: 'redux-page'
23
};
24
}, {}, connections);
0 commit comments