MailerLite provides a js snippet to embed a form. The snippet works fine in an html file, but for some reason errors out in a jsx file
(function(w,d,e,u,f,l,n){w[f] = w[f] || function () {
(w[f].q = w[f].q || [])
.push(arguments);
}, l = d.createElement(e), l.async = 1, l.src = u,
n = d.getElementsByTagName(e)[0], n.parentNode.insertBefore(l, n);})
Returns an error of '}' expected
?
Very confused