mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 19:18:30 +02:00
♻️ Remove duplicated code
This commit is contained in:
parent
d349e46cd8
commit
93bde62581
16 changed files with 188 additions and 306 deletions
|
@ -35,8 +35,8 @@
|
|||
:id object-id-1
|
||||
:profile-id (:id prof)
|
||||
:file-id (:id file)
|
||||
:url url
|
||||
:is-local true}
|
||||
:is-local true
|
||||
:url url}
|
||||
out (th/try-on! (sm/handle data))]
|
||||
|
||||
;; (th/print-result! out)
|
||||
|
@ -61,9 +61,9 @@
|
|||
:id object-id-2
|
||||
:profile-id (:id prof)
|
||||
:file-id (:id file)
|
||||
:is-local true
|
||||
:name "testfile"
|
||||
:content content
|
||||
:is-local true}
|
||||
:content content}
|
||||
out (th/try-on! (sm/handle data))]
|
||||
|
||||
;; (th/print-result! out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue