Skip to content

Commit ab29552

Browse files
committed
[#1756] Maybe fixes console in production
1 parent 502033c commit ab29552

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/utils/dispatcher.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ export function listen(callback) {
4040
function eventListener(e) {
4141
const { data } = e;
4242

43-
if (data && e.origin === origin) {
43+
// Removing the origin check for now
44+
// I wonder if this is what is breaking production
45+
// if (data && e.origin === origin) {
46+
if (data) {
4447
notifyListener(data);
4548
}
4649
}

0 commit comments

Comments
 (0)