chore: Enable eslint to enforce curly (#3060)
This commit is contained in:
@@ -87,7 +87,9 @@ if (element) {
|
||||
window.addEventListener("load", async () => {
|
||||
// installation does not use Google Analytics, or tracking is blocked on client
|
||||
// no point loading the rest of the analytics bundles
|
||||
if (!env.GOOGLE_ANALYTICS_ID || !window.ga) return;
|
||||
if (!env.GOOGLE_ANALYTICS_ID || !window.ga) {
|
||||
return;
|
||||
}
|
||||
// https://github.com/googleanalytics/autotrack/issues/137#issuecomment-305890099
|
||||
await import(
|
||||
/* webpackChunkName: "autotrack" */
|
||||
|
||||
Reference in New Issue
Block a user