Fixed: Skip MovieDetails Ratings Render if Null

pull/2/head
Qstick 5 years ago committed by GitHub
parent 1137c8d770
commit 74c0e409e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -351,10 +351,13 @@ class MovieDetails extends Component {
</span> </span>
} }
<HeartRating {
rating={ratings.value} !!ratings &&
iconSize={20} <HeartRating
/> rating={ratings.value}
iconSize={20}
/>
}
</div> </div>
</div> </div>

Loading…
Cancel
Save