Uncaught SyntaxError: Lexical declaration cannot appear in a single-statement context
Closed this issue · 1 comments
emanuelespies commented
I was using the plugin and it was working fine until we merged it and push to prod. Using the plugin in PROD environment I am having this error:
"Uncaught SyntaxError: Lexical declaration cannot appear in a single-statement context"
Accordingly with Chrome inspector it starts at else if(document.hasFocus())g();else var h=r(window,"focus",(function()
Any suggestion on how to proceed?
I am doing a simple import of your project: import customProtocolCheck from "custom-protocol-check";
emanuelespies commented
I realized I opened the issue in the wrong git project. Not sure if this is happening here too, or not. Sorry for the fuss.