Deleted library still shows up in the sidebar

It it’s a pinned library, try unpinning it. I reported a problem like this a few months ago.