From a585f9b2777ad79f5743821dc13434c445b99730 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Sat, 29 Feb 2020 16:51:46 +0000 Subject: [PATCH] Updates --- src.a2b27638.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src.a2b27638.js b/src.a2b27638.js index 968af54..558b0a0 100644 --- a/src.a2b27638.js +++ b/src.a2b27638.js @@ -154,7 +154,7 @@ var l={body:'0){var o=r[0].link;t.props.fetchPodcast(o)}else t.props.history.push("/404")},o))}return h(r,e.Component),d(r,[{key:"componentDidMount",value:function(){this.loadPodcast()}},{key:"componentDidUpdate",value:function(e){e.match.url!==this.props.match.url&&this.loadPodcast()}},{key:"render",value:function(){var t=this.props,r=t.error,u=t.loading;return e.default.createElement(e.Fragment,null,r&&e.default.createElement("p",{className:"error"},r),u?e.default.createElement(o.default,null):e.default.createElement(n.default,null))}}]),r}(),g=function(e){return{error:e.podcast.error,loading:e.podcast.loading}},O=(0,r.withRouter)((0,t.connect)(g,{fetchPodcast:u.fetchPodcast,setLoading:u.setLoading})(P));exports.default=O; },{"react":"HdMw","react-redux":"sYSi","react-router-dom":"rx6s","../components/Loader.component":"hJYb","../components/PodcastInfo.component":"L72A","../actions/podcast":"pD4t","../css/PodcastPage.styles.css":"svz3","../data/podcasts":"ut8y"}],"jFcs":[function(require,module,exports) {