mirror of https://github.com/status-im/reagent.git
Test not= exception for dev builds only
Logging is not enabled for optimized builds
This commit is contained in:
parent
b0c70e380e
commit
fe4f348f12
|
@ -1241,7 +1241,7 @@
|
||||||
component (fn []
|
component (fn []
|
||||||
[component-class @prop])]
|
[component-class @prop])]
|
||||||
|
|
||||||
(when isClient
|
(when (and isClient (dev?))
|
||||||
(let [e (debug/track-warnings
|
(let [e (debug/track-warnings
|
||||||
#(with-mounted-component [component]
|
#(with-mounted-component [component]
|
||||||
(fn [c div]
|
(fn [c div]
|
||||||
|
|
Loading…
Reference in New Issue