Skip to content

Commit 0b9581d

Browse files
committed
Revert "[#1756] Maybe fixes console in production"
This reverts commit ab29552.
1 parent b3ffe86 commit 0b9581d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

client/utils/dispatcher.js

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

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) {
43+
if (data && e.origin === origin) {
4744
notifyListener(data);
4845
}
4946
}

0 commit comments

Comments
 (0)