mirror of
https://github.com/penpot/penpot.git
synced 2026-05-08 01:28:44 +00:00
🐛 Fix incorrect usage of mf/deps on layout_container ns
This commit is contained in:
parent
366975f067
commit
acb17b0552
@ -1191,7 +1191,7 @@
|
||||
|
||||
toggle-wrap-refactor
|
||||
(mf/use-fn
|
||||
(mf/deps [wrap-type ids])
|
||||
(mf/deps wrap-type ids)
|
||||
(fn []
|
||||
(let [type (if (= wrap-type :wrap)
|
||||
:nowrap
|
||||
@ -1308,7 +1308,7 @@
|
||||
|
||||
set-direction
|
||||
(mf/use-fn
|
||||
(mf/deps [layout-type ids new-css-system])
|
||||
(mf/deps layout-type ids new-css-system)
|
||||
(fn [dir]
|
||||
(let [dir (cond-> dir new-css-system keyword)]
|
||||
(if (= :flex layout-type)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user