fix: clear indentation for paragraphs

This commit is contained in:
Tienson Qin
2021-06-07 18:22:57 +08:00
parent 84b5f97270
commit 3532ecb40c
3 changed files with 7 additions and 8 deletions

View File

@@ -1,10 +1,9 @@
(ns frontend.debug
(:require [cljs.pprint :as pprint]
[frontend.config :as config]
[frontend.state :as state]))
(defn pprint
[& xs]
(when (or config/dev? (state/developer-mode?))
(when (state/developer-mode?)
(doseq [x xs]
(pprint/pprint x))))