mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 17:51:39 +02:00
🎉 Add flex layout playground template to the dashboard carousel
This commit is contained in:
parent
6eaa905f0c
commit
f174264f7f
5 changed files with 8 additions and 14 deletions
|
@ -150,8 +150,9 @@
|
|||
(mf/defc templates-section
|
||||
{::mf/wrap-props false}
|
||||
[{:keys [default-project-id profile project-id team-id content-width]}]
|
||||
(let [templates (->> (mf/deref builtin-templates)
|
||||
(filter #(not= (:id %) "tutorial-for-beginners")))
|
||||
(let [templates (mf/deref builtin-templates)
|
||||
templates (mf/with-memo [templates]
|
||||
(filterv #(not= (:id %) "tutorial-for-beginners") templates))
|
||||
|
||||
route (mf/deref refs/route)
|
||||
route-name (get-in route [:data :name])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue