Updater: Fix grammar (1 Updates => 1 Update) (#2084)

Co-authored-by: V <vendicated@riseup.net>
main
Moxie 10 months ago committed by GitHub
parent 13961a4ba5
commit 6530526fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,7 @@ function Updatable(props: CommonProps) {
</>
) : (
<Forms.FormText className={Margins.bottom8}>
{isOutdated ? `There are ${updates.length} Updates` : "Up to Date!"}
{isOutdated ? (updates.length === 1 ? "There is 1 Update" : `There are ${updates.length} Updates`) : "Up to Date!"}
</Forms.FormText>
)}

Loading…
Cancel
Save