+ {resumes.map(entry => entry.node)}
{/* Only a successful answer can say "nothing in progress": while loading the slot keeps
- its shape, and a failure says so instead of telling a reader with books that they have none. */}
- {book
- ?
- : reading.isPending
- ? 正在读取在读的书…
- : reading.error
- ? 在读的书读取失败
- : 还没有在读的书去书架挑一本}
- {(videoActivity || audioActivity) &&
- {videoActivity && }
- {audioActivity && }
-
}
+ its shape, and a failure says so instead of telling a reader with books that they have none.
+ Media in progress is enough to fill the row, so the "no book" invitation is only for an empty row. */}
+ {!book && (reading.isPending
+ ? 正在读取在读的书…
+ : reading.error
+ ? 在读的书读取失败
+ : !resumes.length && 还没有在读的书去书架挑一本)}