mirror of
https://github.com/penpot/penpot.git
synced 2025-07-25 00:27:18 +02:00
🔥 Remove library method addComponentInstance
This commit is contained in:
parent
969b171510
commit
37f88067b9
3 changed files with 1 additions and 51 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue