mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 10:09:03 -05:00
Use :as
This commit is contained in:
parent
3e7a422136
commit
8f852bf48f
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
[app.main.ui.icons :as i]
|
[app.main.ui.icons :as i]
|
||||||
[app.main.ui.workspace.sidebar.assets.common :as cmm]
|
[app.main.ui.workspace.sidebar.assets.common :as cmm]
|
||||||
[app.main.ui.workspace.tokens.common :refer [workspace-shapes]]
|
[app.main.ui.workspace.tokens.common :refer [workspace-shapes]]
|
||||||
[app.main.ui.workspace.tokens.core :refer [tokens-applied?] :as wtc]
|
[app.main.ui.workspace.tokens.core :as wtc]
|
||||||
[app.util.dom :as dom]
|
[app.util.dom :as dom]
|
||||||
[rumext.v2 :as mf]))
|
[rumext.v2 :as mf]))
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
[:& token-pill
|
[:& token-pill
|
||||||
{:key (:id token)
|
{:key (:id token)
|
||||||
:token token
|
:token token
|
||||||
:highlighted? (tokens-applied? token selected-shapes attributes)
|
:highlighted? (wtc/tokens-applied? token selected-shapes attributes)
|
||||||
:on-click #(on-token-pill-click % token)
|
:on-click #(on-token-pill-click % token)
|
||||||
:on-context-menu #(on-context-menu % token)}])]])]]))
|
:on-context-menu #(on-context-menu % token)}])]])]]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue