Skip to content
Permalink
Browse files

remove bad usage of exists?

  • Loading branch information...
swannodette committed Jun 1, 2018
1 parent 223cec6 commit 1bfb568bff3279fb1e3060ba8c02b69eec54405f
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/om/next.cljc
@@ -2522,7 +2522,8 @@
(let [computed (get-computed (props c))
next-raw-props (ui->props env c)
next-props (om.next/computed next-raw-props computed)]
(when (and (exists? (.-componentWillReceiveProps c))
(when (and
(some? (.-componentWillReceiveProps c))
(iquery? root)
props-change?)
(let [next-props (if (nil? next-props)

0 comments on commit 1bfb568

Please sign in to comment.
You can’t perform that action at this time.