   [own]
   (let [workspace (rum/react wb/workspace-l)
         selected (:selected workspace)
-        shapes-by-id (rum/react shapes-by-id)
+        shapes-by-id (rum/react wb/shapes-by-id)
         page (rum/react (focus-page (:page workspace)))
         close #(rs/emit! (dw/toggle-toolbox :layers))
         copy #(rs/emit! (dw/copy-selected))

  (dom/stop-propagation event)
  (let [id (:id item)]
    (rs/emit! (dw/toggle-shape-locking id))))

(defn- layer-element-render
  [own item selected]

        [:ul
         (for [shape (map #(get shapes-by-id %) (:items item))
               :let [key (str (:id shape))]]
           (if (= (:type shape) :builtin/group)
             (-> (layer-group shape selected)
                 (rum/with-key key))
             (-> (layer-element shape selected)
                 (rum/with-key key))))])])))

(def ^:static ^:private layer-group
  (mx/component
