mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 05:04:24 +00:00
fix(dev): do not use posthog when dev
@andelf same change in 662a8a919b
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
:loaded (fn [_] (register))})
|
||||
|
||||
(defn init []
|
||||
(posthog/init token (clj->js config)))
|
||||
(when-not config/dev?
|
||||
(posthog/init token (clj->js config))))
|
||||
|
||||
(defn opt-out [opt-out?]
|
||||
(if opt-out?
|
||||
|
||||
Reference in New Issue
Block a user