mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 06:16:13 +02:00
🔧 Move token lib edit to workspace.data and remove unused code
This commit is contained in:
parent
213c04bc8a
commit
a1921bb767
12 changed files with 81 additions and 185 deletions
|
@ -2,7 +2,7 @@
|
|||
(:require
|
||||
[app.common.test-helpers.files :as cthf]
|
||||
[app.common.types.tokens-lib :as ctob]
|
||||
[app.main.data.tokens :as dt]
|
||||
[app.main.data.workspace.tokens.library-edit :as dwtl]
|
||||
[cljs.test :as t :include-macros true]
|
||||
[frontend-tests.helpers.pages :as thp]
|
||||
[frontend-tests.helpers.state :as ths]
|
||||
|
@ -27,7 +27,7 @@
|
|||
done
|
||||
(let [file (setup-file-with-token-lib)
|
||||
store (ths/setup-store file)
|
||||
events [(dt/duplicate-token-set "Set A" false)]]
|
||||
events [(dwtl/duplicate-token-set "Set A" false)]]
|
||||
|
||||
(tohs/run-store-async
|
||||
store done events
|
||||
|
@ -46,7 +46,7 @@
|
|||
done
|
||||
(let [file (setup-file-with-token-lib)
|
||||
store (ths/setup-store file)
|
||||
events [(dt/duplicate-token-set "Set B" false)]]
|
||||
events [(dwtl/duplicate-token-set "Set B" false)]]
|
||||
|
||||
(tohs/run-store-async
|
||||
store done events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue