mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
Remove unused functions.
This commit is contained in:
parent
7cacbd4659
commit
89779bf658
@ -15,20 +15,6 @@
|
|||||||
[uxbox.main.state :as st]
|
[uxbox.main.state :as st]
|
||||||
[uxbox.main.repo :as rp]))
|
[uxbox.main.repo :as rp]))
|
||||||
|
|
||||||
;; --- Helpers
|
|
||||||
|
|
||||||
(defn- assoc-collection
|
|
||||||
[state coll]
|
|
||||||
(let [id (:id coll)
|
|
||||||
coll (assoc coll :type :own)]
|
|
||||||
(assoc-in state [:color-colls-by-id id] coll)))
|
|
||||||
|
|
||||||
(defn- dissoc-collection
|
|
||||||
"A reduce function for dissoc the color collection
|
|
||||||
to the state map."
|
|
||||||
[state id]
|
|
||||||
(update state :color-colls-by-id dissoc id))
|
|
||||||
|
|
||||||
;; --- Initialize
|
;; --- Initialize
|
||||||
|
|
||||||
(declare fetch-collections)
|
(declare fetch-collections)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user