diff --git a/frontend/src/Store/Selectors/createQueueItemSelector.js b/frontend/src/Store/Selectors/createQueueItemSelector.js index a4e109e83..e6df48a3f 100644 --- a/frontend/src/Store/Selectors/createQueueItemSelector.js +++ b/frontend/src/Store/Selectors/createQueueItemSelector.js @@ -5,7 +5,7 @@ function createQueueItemSelector() { (state, { bookId }) => bookId, (state) => state.queue.details.items, (bookId, details) => { - if (!bookId) { + if (!bookId || !details) { return null; }