mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 00:58:28 +02: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
|
toggle-wrap-refactor
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(mf/deps [wrap-type ids])
|
(mf/deps wrap-type ids)
|
||||||
(fn []
|
(fn []
|
||||||
(let [type (if (= wrap-type :wrap)
|
(let [type (if (= wrap-type :wrap)
|
||||||
:nowrap
|
:nowrap
|
||||||
|
@ -1308,7 +1308,7 @@
|
||||||
|
|
||||||
set-direction
|
set-direction
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(mf/deps [layout-type ids new-css-system])
|
(mf/deps layout-type ids new-css-system)
|
||||||
(fn [dir]
|
(fn [dir]
|
||||||
(let [dir (cond-> dir new-css-system keyword)]
|
(let [dir (cond-> dir new-css-system keyword)]
|
||||||
(if (= :flex layout-type)
|
(if (= :flex layout-type)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue