mirror of
https://github.com/penpot/penpot.git
synced 2025-02-07 23:08:24 -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.workspace.sidebar.assets.common :as cmm]
|
||||
[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]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
[:& token-pill
|
||||
{:key (:id 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-context-menu #(on-context-menu % token)}])]])]]))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue