mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Use :as
This commit is contained in:
@@ -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)}])]])]]))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user