Merge pull request #3854 from penpot/niwinz-develop-yetti-update

 Update yetti and simplify internal worker module
This commit is contained in:
Alejandro 2023-11-29 12:01:33 +01:00 committed by GitHub
commit 7404933e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 797 additions and 811 deletions

View file

@ -9,7 +9,7 @@
(:require
[app.common.exceptions :as ex]
[app.common.pprint :as pp]
[app.common.schema :as sm]
[app.common.schema :as-alias sm]
[app.main.data.messages :as msg]
[app.main.data.modal :as modal]
[app.main.data.users :as du]
@ -33,9 +33,8 @@
(defn- print-explain!
[data]
(when-let [explain (::sm/explain data)]
(js/console.log (sm/humanize-data explain)))
(when-let [explain (:explain data)]
(when-let [explain (or (ex/explain data)
(:explain data))]
(js/console.log explain)))
(defn- print-trace!