Skip to content

Commit

Permalink
Update db.cljc
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnk authored May 23, 2017
1 parent cf61b2d commit 440118b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/re_frame/db.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
;; Should not be accessed directly by application code.
;; Read access goes through subscriptions.
;; Updates via event handlers.
(def app-db (ratom {}))
(defonce app-db (ratom {}))

0 comments on commit 440118b

Please sign in to comment.