fix: put message in quotes

pull/10670/head
Simon H 4 months ago committed by GitHub
parent 5768ac3027
commit f94eedc0ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -107,7 +107,7 @@ function error_on_client(payload, message) {
'which may result in content being shifted around and will likely result in a hydration mismatch.';
// eslint-disable-next-line no-console
console.error(message);
payload.head.out += `<script>console.error(${message})</script>`;
payload.head.out += `<script>console.error(\`${message}\`)</script>`;
}
/**

Loading…
Cancel
Save