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

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
Moxie 2024-01-05 18:10:16 -05:00 committed by GitHub
parent 13961a4ba5
commit 6530526fb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
)}