mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
publish: fixes single revision plurality
fixes https://github.com/urbit/urbit/issues/3841
This commit is contained in:
parent
e279b08049
commit
6f6c129d45
@ -83,7 +83,7 @@ export function NotePreview(props: NotePreviewProps) {
|
||||
{date}
|
||||
</Box>
|
||||
<Box mr={3}>{commentDesc}</Box>
|
||||
<Box>{rev === 1 ? `1 Revision` : `${rev} Revisions`}</Box>
|
||||
<Box>{rev.valueOf() === 1 ? `1 Revision` : `${rev} Revisions`}</Box>
|
||||
</Box>
|
||||
</Col>
|
||||
</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user