diff options
Diffstat (limited to 'browser/components/newtab/content-src/components/ErrorBoundary/ErrorBoundary.jsx')
-rw-r--r-- | browser/components/newtab/content-src/components/ErrorBoundary/ErrorBoundary.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/components/newtab/content-src/components/ErrorBoundary/ErrorBoundary.jsx b/browser/components/newtab/content-src/components/ErrorBoundary/ErrorBoundary.jsx index 1834a0a521..6bf1614ce7 100644 --- a/browser/components/newtab/content-src/components/ErrorBoundary/ErrorBoundary.jsx +++ b/browser/components/newtab/content-src/components/ErrorBoundary/ErrorBoundary.jsx @@ -52,7 +52,7 @@ export class ErrorBoundary extends React.PureComponent { this.state = { hasError: false }; } - componentDidCatch(error, info) { + componentDidCatch() { this.setState({ hasError: true }); } |