text: (this.webpackJsonptest=this.webpackJsonptest||[]).push([[6],{101:function(e,t,n){"use strict";n.r(t);var a=n(54),r=n(55),c=n(57),l=n(56),s=n(0),u=n.n(s),i=n(53),o=function(e){Object(c.a)(n,e);var t=Object(l.a)(n);function n(){var e;Object(a.a)(this,n);for(var r=arguments.length,c=new Array(r),l=0;l<r;l++)c[l]=arguments[l];return(e=t.call.apply(t,[this].concat(c))).state={reviews:[]},e}return Object(r.a)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.match.params.movieId;Object(i.c)(t).then((function(t){return e.setState({reviews:t.data.results})}))}},{key:"render",value:function(){var e=this.state.reviews;return 0===e.length?u.a.createElement("h3",null,"We don\xb4t have any reviews for this movie"):u.a.createElement("ul",null,e.map((function(e){return u.a.createElement("li",{key:e.id},u.a.createElement("h3",null,"Author: ",u.a.createElement("span",null,e.author)),u.a.createElement("p",null,e.content))})))}}]),n}(s.Component);t.default=o}}]);
  //# sourceMappingURL=Reviews.e599c28a.chunk.js.map