From ab295522023f2fc0eb8dfca7f42a226f0849782c Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Fri, 5 Mar 2021 22:20:20 -0500 Subject: [PATCH] [#1756] Maybe fixes console in production --- client/utils/dispatcher.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/utils/dispatcher.js b/client/utils/dispatcher.js index 6745840999..a05631b054 100644 --- a/client/utils/dispatcher.js +++ b/client/utils/dispatcher.js @@ -40,7 +40,10 @@ export function listen(callback) { function eventListener(e) { const { data } = e; - if (data && e.origin === origin) { + // Removing the origin check for now + // I wonder if this is what is breaking production + // if (data && e.origin === origin) { + if (data) { notifyListener(data); } }