Don't process queue item without details

Signed-off-by: Robin Dadswell <robin@dadswell.email>
pull/770/head
Mark McDowall 4 years ago committed by Qstick
parent 1f88450045
commit c534ab570f

@ -5,7 +5,7 @@ function createQueueItemSelector() {
(state, { bookId }) => bookId,
(state) => state.queue.details.items,
(bookId, details) => {
if (!bookId) {
if (!bookId || !details) {
return null;
}

Loading…
Cancel
Save