mirror of
https://github.com/penpot/penpot.git
synced 2026-03-07 10:41:05 +00:00
💄 Add minor cosmetic improvement to viewer events ns
This commit is contained in:
@@ -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 _]
|
||||
|
||||
Reference in New Issue
Block a user