webpackHotUpdate(0,{

/***/ 39:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(223);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);\n\n\n\nclass ErrorComponent extends __WEBPACK_IMPORTED_MODULE_0_react___default.a.Component {\n\n  constructor(props) {\n    super(props);\n    this.state = { error: null };\n  }\n\n  componentDidCatch(error) {\n    this.setState({ error });\n  }\n\n  render() {\n    if (this.state.error) {\n      const title = this.state.error.message;\n      const stack = this.state.error.stack.split('\\n').slice(1).join('\\n');\n\n      return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n        'div',\n        { className: 'error-container' },\n        __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n          'div',\n          { className: 'error' },\n          __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n            'h2',\n            null,\n            title\n          ),\n          __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n            'pre',\n            { className: 'stack' },\n            stack\n          )\n        )\n      );\n    } else {\n      return this.props.children;\n    }\n  }\n}\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = ErrorComponent;\n\n\nErrorComponent.propTypes = {\n  children: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.element.isRequired\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vYnJvd3Nlci10ZXN0ZXIvc3JjL2NvbXBvbmVudHMvRXJyb3IvaW5kZXguanM/N2Yy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