From 949006b5a2559b57dd5967963b44a232277f63e2 Mon Sep 17 00:00:00 2001 From: Richard Patel Date: Wed, 9 Mar 2022 13:53:29 +0100 Subject: [PATCH] explorer: format Instructions title as singular/plural (#23553) --- explorer/src/components/transaction/InstructionsSection.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/explorer/src/components/transaction/InstructionsSection.tsx b/explorer/src/components/transaction/InstructionsSection.tsx index 68a79fec51..92f7510880 100644 --- a/explorer/src/components/transaction/InstructionsSection.tsx +++ b/explorer/src/components/transaction/InstructionsSection.tsx @@ -127,7 +127,9 @@ export function InstructionsSection({ signature }: SignatureProps) {
-

Instruction(s)

+

+ {instructionDetails.length > 1 ? "Instructions" : "Instruction"} +