Skip to content

Commit

Permalink
Bump co logo res
Browse files Browse the repository at this point in the history
  • Loading branch information
AshDyson committed Mar 30, 2021
1 parent 4cae797 commit 7501fea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/CompanyCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class CompanyCard extends React.Component {
<div className="company-card--image">
<LazyLoadImage
alt={company.name}
src={`https://image.tmdb.org/t/p/w200${company.logo_path}`}
src={`https://image.tmdb.org/t/p/w500${company.logo_path}`}
onLoad={this.imgLoaded}
/>
</div>
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/pages/Movie.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,11 @@ class Movie extends React.Component {

getMovie() {
let id = this.props.match.params.id;
console.log("checking movie");
// this.getRelated();
if (!this.props.api.movie_lookup[id]) {
// check for cached
console.log("no movie in redux");
Api.movie(id);
} else if (this.props.api.movie_lookup[id].isMinified) {
console.log("redux is min");
Api.movie(id);
}
}
Expand Down

0 comments on commit 7501fea

Please sign in to comment.