This commit is contained in:
Mike Thompson 2017-07-14 13:48:38 +10:00
parent 9a3584a8b6
commit ba471853ae
1 changed files with 2 additions and 1 deletions

View File

@ -118,5 +118,6 @@
(register
:db
(fn [value]
(reset! app-db value)))
(if-not (identical? @app-db value)
(reset! app-db value))))