Fixed: Queue Not Rendering

Fixes #4341
pull/2/head
Qstick 5 years ago
parent 0b113b9bab
commit d30c1b1385

@ -45,11 +45,13 @@ class Queue extends Component {
componentDidUpdate(prevProps) {
const {
items,
isFetching,
isMoviesFetching
} = this.props;
if (
(!isMoviesFetching && prevProps.isMoviesFetching) ||
(!isFetching && prevProps.isFetching) ||
(hasDifferentItems(prevProps.items, items) && !items.some((e) => e.movieId))
) {
this.setState((state) => {

Loading…
Cancel
Save