diff --git a/lib/app.js b/lib/app.js index 02864563a1fa0..979ed7bd42a5f 100644 --- a/lib/app.js +++ b/lib/app.js @@ -22,7 +22,7 @@ export default class App extends Component { return
- {ErrorDebug && err ? : null} + {ErrorDebug && err ? : null}
} @@ -40,7 +40,7 @@ class Container extends Component { // includes AppContainer which bypasses shouldComponentUpdate method // https://github.com/gaearon/react-hot-loader/issues/442 - return + return } diff --git a/lib/error-debug.js b/lib/error-debug.js index 700e9f6805eea..1e1beb3bb564d 100644 --- a/lib/error-debug.js +++ b/lib/error-debug.js @@ -2,7 +2,7 @@ import React from 'react' import ansiHTML from 'ansi-html' import Head from './head' -export default ({ err, err: { name, message, module } }) => ( +export default ({ error, error: { name, message, module } }) => (
@@ -11,7 +11,7 @@ export default ({ err, err: { name, message, module } }) => ( { name === 'ModuleBuildError' ?
-      : 
+      : 
     }
   
)