mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 17:21:17 -05:00
🐛 Fix incorrect usage of mf/deps on layout_container ns
This commit is contained in:
parent
366975f067
commit
acb17b0552
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue