diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs
index 2de63ebe4..8718de05b 100644
--- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs
+++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs
@@ -186,8 +186,9 @@
                               :path path})
         filters             (deref filters*)
 
-        components          (-> (get-in libraries [(:file-id filters) :data :components])
-                                vals)
+        components          (->> (get-in libraries [(:file-id filters) :data :components])
+                                 vals
+                                 (remove #(true? (:deleted %))))
 
         components          (if (str/empty? (:term filters))
                               components