Browse Source

🎨 Fix eslint warning

pull/15222/head
afc163 6 years ago
parent
commit
f882c13e80
No known key found for this signature in database GPG Key ID: 738F973FCE5C6B48
  1. 2
      site/theme/template/Layout/index.jsx

2
site/theme/template/Layout/index.jsx

@ -30,7 +30,7 @@ if (typeof window !== 'undefined') {
/* eslint-enable global-require */
// Error log statistic
window.addEventListener('error', function(e) {
window.addEventListener('error', function onError(e) {
// Ignore ResizeObserver error
if (e.message === 'ResizeObserver loop limit exceeded') {
e.stopPropagation();

Loading…
Cancel
Save