mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Help typescript out a bit
This commit is contained in:
parent
e9ae311559
commit
be395019ec
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
|
|||
{props.item.wordsCount ?? 0 > 0
|
||||
? `${Math.max(
|
||||
1,
|
||||
Math.round(props.item.wordsCount / 235)
|
||||
Math.round(props.item.wordsCount ?? 0 / 235)
|
||||
)} min read`
|
||||
: null}
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Reference in a new issue