Skip to content

Commit

Permalink
Revert "add html-env? check to local-persistent-config"
Browse files Browse the repository at this point in the history
This reverts commit 3cc6113.
  • Loading branch information
milt committed Mar 2, 2018
1 parent 3cc6113 commit df92a3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions support/src/figwheel/client/utils.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@

(defonce local-persistent-config
(let [a (atom {})]
(when (and (html-env?)
(feature? js/localStorage "setItem"))
(when (feature? js/localStorage "setItem")
(add-watch a :sync-local-storage
(fn [_ _ _ n]
(mapv (fn [[ky v]]
Expand Down

0 comments on commit df92a3c

Please sign in to comment.