duplicate forms for 8949 based on selling public traded partnership

I sold some of my interest in a publicly traded partnership this year.  I have the schedule K-1 and the brokerage 1099-B forms.

While entering the schedule K-1 information, I checked the box that I disposed of a portion of my interest in partnership during 2023. After filling on the field for the sale, I ended up with two separate form 8949. One from the brokerage and one from filling out the information via schedule K-1.  How do I correct this because it looks like two separate transactions but it not.

 

thanks.