mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
📎 Add some FIXME comments for future refactors
This commit is contained in:
committed by
Alonso Torres
parent
97e7806bdb
commit
a3faca910f
@@ -50,7 +50,9 @@
|
||||
</body>
|
||||
</html>")
|
||||
|
||||
(defn get-flex-elements [page-id shapes from]
|
||||
;; FIXME: rename to hook naming convention
|
||||
(defn get-flex-elements
|
||||
[page-id shapes from]
|
||||
(let [ids (mapv :id shapes)
|
||||
ids (hooks/use-equal-memo ids)
|
||||
|
||||
@@ -63,6 +65,7 @@
|
||||
|
||||
(mf/deref get-layout-children-refs)))
|
||||
|
||||
;; FIXME: rename to hook naming convention
|
||||
(defn get-objects [from]
|
||||
(let [page-objects-ref
|
||||
(mf/use-memo
|
||||
|
||||
Reference in New Issue
Block a user