Test not= exception for dev builds only

Logging is not enabled for optimized builds
This commit is contained in:
Juho Teperi 2018-05-04 19:25:34 +03:00
parent b0c70e380e
commit fe4f348f12
1 changed files with 1 additions and 1 deletions

View File

@ -1241,7 +1241,7 @@
component (fn []
[component-class @prop])]
(when isClient
(when (and isClient (dev?))
(let [e (debug/track-warnings
#(with-mounted-component [component]
(fn [c div]