                                  (get-in app-state [:selected-eids :selected-eids]))))]
       (let [rendered-layers (render-layers {:layers layers})]
         (.setData (.-clipboardData e) "text" rendered-layers)
-        (upload-clipboard-to-s3 (:sente app-state) rendered-layers)))))
+        (upload-clipboard-to-s3 (:sente app-state) layers)))))
 
 (defn parse-pasted [pasted-data]
   (some->> pasted-data

  [:path (layer->svg-path layer opts)])

;; TODO: take path width/height into account
(defn render-layers [{:keys [layers] :as layer-data} & {:keys [invert-colors?]}]
  (let [layers (filter #(not= :layer.type/group (:layer/type %)) layers)
        start-xs (remove #(js/isNaN %) (map :layer/start-x layers))
        start-ys (remove #(js/isNaN %) (map :layer/start-y layers))

      ;; hack to make pngs work
      (when invert-colors?
        [:rect {:width "100%" :height "100%" :fill "#333"}])
      (when defs
        [:defs defs])
      [:metadata (pr-str (assoc layer-data
                           :width width
                           :height height
