0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-20 05:34:23 -05:00

💄 Fix linter errors

This commit is contained in:
Andrés Moya 2024-11-21 11:25:04 +01:00
parent bf1efdc4b6
commit ddbe53a0ee
3 changed files with 7 additions and 10 deletions

View file

@ -639,11 +639,11 @@ When `before-set-name` is nil, move set to bottom")
(d/oassoc-in-before path path' set')
(d/dissoc-in path))
(walk/postwalk
(fn [form]
(if (instance? TokenTheme form)
(update-set-name form (:name set) (:name set'))
form))
themes)
(fn [form]
(if (instance? TokenTheme form)
(update-set-name form (:name set) (:name set'))
form))
themes)
active-themes)
(TokensLib. (d/oassoc-in sets path set')
themes

View file

@ -11,7 +11,6 @@
[app.common.data :as d]
[app.common.data.macros :as dm]
[app.common.types.tokens-lib :as ctob]
[app.main.ui.workspace.tokens.common :as tokens.common]
[app.main.data.modal :as modal]
[app.main.data.tokens :as dt]
[app.main.refs :as refs]

View file

@ -41,8 +41,7 @@
[cuerdas.core :as str]
[okulary.core :as l]
[rumext.v2 :as mf]
[shadow.resource]
[app.main.data.tokens :as wdt]))
[shadow.resource]))
(def lens:token-type-open-status
(l/derived (l/in [:workspace-tokens :open-status]) st/state))
@ -351,8 +350,7 @@
{::mf/wrap [mf/memo]
::mf/wrap-props false}
[_props]
(let [tokens-tab? (not (mf/deref refs/workspace-token-set-group-selected?))
{on-pointer-down-pages :on-pointer-down
(let [{on-pointer-down-pages :on-pointer-down
on-lost-pointer-capture-pages :on-lost-pointer-capture
on-pointer-move-pages :on-pointer-move
size-pages-opened :size}