explorer: format Instructions title as singular/plural (#23553)

This commit is contained in:
Richard Patel 2022-03-09 13:53:29 +01:00 committed by GitHub
parent afc41c7b11
commit 949006b5a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,9 @@ export function InstructionsSection({ signature }: SignatureProps) {
<div className="container">
<div className="header">
<div className="header-body">
<h3 className="mb-0">Instruction(s)</h3>
<h3 className="mb-0">
{instructionDetails.length > 1 ? "Instructions" : "Instruction"}
</h3>
</div>
</div>
</div>