mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 22:36:10 +02:00
🐛 Use proper commands (instead of queries) on render frontend namespace
This commit is contained in:
parent
84c8a6eced
commit
36953eef1a
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@
|
|||
(fn []
|
||||
(let [features (cond-> #{} components-v2 (conj "components/v2"))]
|
||||
(->> (rx/zip
|
||||
(repo/query! :font-variants {:file-id file-id})
|
||||
(repo/cmd! :get-font-variants {:file-id file-id})
|
||||
(repo/cmd! :get-page {:file-id file-id
|
||||
:page-id page-id
|
||||
:object-id object-id
|
||||
|
@ -141,7 +141,7 @@
|
|||
(fn []
|
||||
(let [features (cond-> #{} components-v2 (conj "components/v2"))]
|
||||
(->> (rx/zip
|
||||
(repo/query! :font-variants {:file-id file-id})
|
||||
(repo/cmd! :get-font-variants {:file-id file-id})
|
||||
(repo/cmd! :get-page {:file-id file-id
|
||||
:page-id page-id
|
||||
:features features}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue