Skip to content

Commit

Permalink
fix: dot run init-sentry in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
thezjy authored and tiensonqin committed Mar 17, 2021
1 parent 4bb95ef commit 453971d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/frontend/handler.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@
(defn on-load-events
[]
(let [f (fn []
(init-sentry))]
(set! js/window.onload f)))
(when-not config/dev? (init-sentry)))]
(set! js/window.onload f)))

(defn start!
[render]
Expand Down

0 comments on commit 453971d

Please sign in to comment.