mirror of
https://github.com/penpot/penpot.git
synced 2025-04-13 15:31:26 -05:00
Disable loader on colors.
This commit is contained in:
parent
1acdef47d4
commit
8d20cf9d3d
1 changed files with 4 additions and 5 deletions
|
@ -15,7 +15,6 @@
|
|||
[uxbox.main.state :as st]
|
||||
[uxbox.main.repo :as rp]))
|
||||
|
||||
|
||||
;; --- Helpers
|
||||
|
||||
(defn- assoc-collection
|
||||
|
@ -44,10 +43,10 @@
|
|||
:section :dashboard/colors}]
|
||||
(assoc state :dashboard data)))
|
||||
|
||||
rs/EffectEvent
|
||||
(-apply-effect [_ state]
|
||||
(when (nil? (:colors-by-id state))
|
||||
(reset! st/loader true)))
|
||||
;; rs/EffectEvent
|
||||
;; (-apply-effect [_ state]
|
||||
;; (when (nil? (:colors-by-id state))
|
||||
;; (reset! st/loader true)))
|
||||
|
||||
rs/WatchEvent
|
||||
(-apply-watch [_ state s]
|
||||
|
|
Loading…
Add table
Reference in a new issue