🔥 Remove library method addComponentInstance

This commit is contained in:
Andrey Antukh
2025-05-29 13:02:21 +02:00
parent 969b171510
commit 37f88067b9
3 changed files with 1 additions and 51 deletions

View File

@@ -3,6 +3,7 @@
## 1.0.1
- Make the library generate a .penpot file compatible with penpot 2.7.x
- Remove useless method `addComponentInstance`
## 1.0.0

View File

@@ -230,16 +230,6 @@
(catch :default cause
(handle-exception cause))))
:addComponentInstance
(fn [params]
(try
(let [params (-> (decode-params params)
(fb/decode-add-component-instance))]
(-> (swap! state fb/add-component-instance params)
(get-last-id)))
(catch :default cause
(handle-exception cause))))
:addFileMedia
(fn [params blob]