mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
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:
parent
a60704c588
commit
957b9f31d4
@ -23,7 +23,7 @@ class ErrorHandler extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
console.error(error, errorInfo); // eslint-disable-line
|
||||
console.error(error); // eslint-disable-line
|
||||
}
|
||||
|
||||
render() {
|
||||
|
@ -58,7 +58,7 @@ class ErrorHandler extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
console.error(error, errorInfo); // eslint-disable-line
|
||||
console.error(error); // eslint-disable-line
|
||||
}
|
||||
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user