diff --git a/core/block_svg.ts b/core/block_svg.ts index 1a263f702..8daea9ae8 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -252,7 +252,15 @@ export class BlockSvg const parentInput = ( this.previousConnection ?? this.outputConnection )?.targetConnection?.getParentInput(); - if (parentInput && parentInput.type === inputTypes.STATEMENT) { + if ( + parentInput && + parentInput.type === inputTypes.STATEMENT && + // The first statement input is redundant with the parent block's label. + parentInput !== + parentInput + .getSourceBlock() + .inputList.find((input) => input.type === inputTypes.STATEMENT) + ) { labelComponents.push(`Begin ${parentInput.getFieldRowLabel()}`); } else if ( parentInput &&