chore: remove react/db-graph?

This commit is contained in:
Tienson Qin
2023-12-05 01:29:05 +08:00
parent 7dfbecb3e2
commit fb9e1057fa
3 changed files with 12 additions and 17 deletions

View File

@@ -53,17 +53,11 @@
(defn- set-global-error-notification!
[]
(set! js/window.onerror
(fn [message, _source, _lineno, _colno, error]
(when-not (error/ignored? message)
(log/error :exception error)))))
;; (notification/show!
;; (str "message=" message "\nsource=" source "\nlineno=" lineno "\ncolno=" colno "\nerror=" error)
;; :error
;; ;; Don't auto-hide
;; false)
(when-not config/dev?
(set! js/window.onerror
(fn [message, _source, _lineno, _colno, error]
(when-not (error/ignored? message)
(log/error :exception error))))))
(defn- watch-for-date!
[]