Do not remove the item from pane twice (#30254)

Probably a merge artifact?

Release Notes:

- N/A
85fda90993Kirill Bulatov committed on 5/8/2025, 1:30:20 PM· committed by GitHubparentb343a8a
1 file changedLine totals unavailable