Fixed type error when logging editor error (#19504)

refs https://github.com/TryGhost/Ghost/pull/19284

- previous commit had only partially rolled back usage of `errorInfo` variable but it wasn't caught because the line in question has linting disabled
This commit is contained in:
Kevin Ansfield 2024-01-17 13:39:15 +00:00 committed by GitHub
parent a60704c588
commit 957b9f31d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class ErrorHandler extends React.Component {
});
}
console.error(error, errorInfo); // eslint-disable-line
console.error(error); // eslint-disable-line
}
render() {

View File

@ -58,7 +58,7 @@ class ErrorHandler extends React.Component {
});
}
console.error(error, errorInfo); // eslint-disable-line
console.error(error); // eslint-disable-line
}
render() {