Null Check firstQueueItem

pull/2/head
Qstick 4 years ago
parent 1898114d8c
commit e56a784e4c

@ -72,8 +72,8 @@ function createMapStateToProps() {
showSearchAction,
isRefreshingMovie,
isSearchingMovie,
queueStatus: firstQueueItem.status,
queueState: firstQueueItem.trackedDownloadState
queueStatus: firstQueueItem ? firstQueueItem.status : null,
queueState: firstQueueItem ? firstQueueItem.trackedDownloadState : null
};
}
);

Loading…
Cancel
Save