Stock Sales

I manually entered multiple 1099-B stock sale line items, and inadvertently added one more blank line than I needed.  How can I delete it?  The return won't pass the error checks because there are blanks on the purchase date, sale date, etc. for that line. I can't find a delete icon and don't seem to be able to edit the form either to remove the blank line.  2024 Taxes