Design Widget - Deleting a top comment doesn't remove the entire thread

Context

If the comment has a thread associated with it, and the comment being deleted is the main thread (a top level comment), the entire pin is not being removed and the Thread count is not being updated (this applies for both the Unresolved and Resolved sections). The main comment is deleted, but the next comment in the thread is moved up to its place now. This is not ideal, but this behaviour is consistent with the legacy experience.

Refreshing the page after deleting the main comment doesn't change things, so the issue is not in caching.

Screen_Recording_2024-11-18_at_9.14.30_PM