mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 04:28:31 +02:00
Update naming of lenses around all the project.
This commit is contained in:
parent
851eff897e
commit
537dfa241d
15 changed files with 40 additions and 40 deletions
|
@ -149,7 +149,7 @@
|
|||
;; Menu
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;; (def ^:static menu-state
|
||||
;; (def ^:static menu-l
|
||||
;; (as-> (l/select-keys [:projects]) $
|
||||
;; (l/focus-atom $ s/state)))
|
||||
|
||||
|
@ -166,7 +166,7 @@
|
|||
|
||||
(defn menu-render
|
||||
[]
|
||||
(let [state {:projects []} #_(rum/react menu-state)
|
||||
(let [state {:projects []} #_(rum/react menu-l)
|
||||
pcount (count (:projects state))]
|
||||
(html
|
||||
[:section#dashboard-bar.dashboard-bar
|
||||
|
@ -226,7 +226,7 @@
|
|||
;; Grid
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(def ^:static grid-state
|
||||
(def ^:static grid-l
|
||||
(as-> (l/select-keys [:projects-by-id]) $
|
||||
(l/focus-atom $ s/state)))
|
||||
|
||||
|
@ -235,7 +235,7 @@
|
|||
(letfn [(on-click [e]
|
||||
(dom/prevent-default e)
|
||||
(lightbox/open! :new-project))]
|
||||
(let [state (rum/react grid-state)]
|
||||
(let [state (rum/react grid-l)]
|
||||
(html
|
||||
[:section.dashboard-grid
|
||||
[:h2 "Your projects"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue