Fixed: Skip MovieDetails Ratings Render if Null

pull/4190/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>
}
<HeartRating
rating={ratings.value}
iconSize={20}
/>
{
!!ratings &&
<HeartRating
rating={ratings.value}
iconSize={20}
/>
}
</div>
</div>

Loading…
Cancel
Save