mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 03:49:22 -05:00
Fix arg
This commit is contained in:
parent
5cbcdb77c9
commit
a28ed69113
2 changed files with 4 additions and 4 deletions
|
@ -215,8 +215,8 @@
|
|||
(defn split-token-set-path [path]
|
||||
(split-path path set-separator))
|
||||
|
||||
(defn set-full-name->prefixed-full-path [set-full-name-string]
|
||||
(-> (split-token-set-path set-full-name-string)
|
||||
(defn set-full-name->prefixed-full-path [full-path-str]
|
||||
(-> (split-token-set-path full-path-str)
|
||||
(set-full-path->set-prefixed-full-path)))
|
||||
|
||||
(defn get-token-set-prefixed-path [token-set]
|
||||
|
|
|
@ -89,11 +89,11 @@
|
|||
(get (:tokens workspace-data) id)))
|
||||
|
||||
(defn set-selected-token-set-path
|
||||
[id]
|
||||
[full-path]
|
||||
(ptk/reify ::set-selected-token-set-path
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
(wtts/assoc-selected-token-set-path state id))))
|
||||
(wtts/assoc-selected-token-set-path state full-path))))
|
||||
|
||||
(defn set-selected-token-set-path-from-name
|
||||
[token-set-name]
|
||||
|
|
Loading…
Add table
Reference in a new issue