mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
💄 Add minor cosmetic improvement to viewer events ns
This commit is contained in:
parent
bbcf9c00a5
commit
aad70d9df8
1 changed files with 5 additions and 1 deletions
|
@ -98,9 +98,13 @@
|
|||
[:file-id ::sm/uuid]
|
||||
[:share-id {:optional true} ::sm/uuid]])
|
||||
|
||||
(def ^:private valid-fetch-bundle-params?
|
||||
(sm/pred-fn schema:fetch-bundle))
|
||||
|
||||
(defn- fetch-bundle
|
||||
[{:keys [file-id share-id] :as params}]
|
||||
(dm/assert! (sm/valid? schema:fetch-bundle params))
|
||||
(dm/assert! (valid-fetch-bundle-params? params))
|
||||
|
||||
(ptk/reify ::fetch-bundle
|
||||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
|
|
Loading…
Reference in a new issue