mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 16:36:12 +02:00
📎 Add some FIXME comments for future refactors
This commit is contained in:
parent
97e7806bdb
commit
a3faca910f
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue