Merge branch 'master' into develop
This commit is contained in:
commit
2ccd95c397
|
@ -65,6 +65,7 @@
|
||||||
(fn [cofx _]
|
(fn [cofx _]
|
||||||
"Read in todos from localstore, and process into a map we can merge into app-db."
|
"Read in todos from localstore, and process into a map we can merge into app-db."
|
||||||
(assoc cofx :local-store-todos
|
(assoc cofx :local-store-todos
|
||||||
|
(into (sorted-map)
|
||||||
(some->> (.getItem js/localStorage ls-key)
|
(some->> (.getItem js/localStorage ls-key)
|
||||||
(cljs.reader/read-string) ;; stored as an EDN map.
|
(cljs.reader/read-string) ;; stored as an EDN map.
|
||||||
(into (sorted-map))))))
|
)))))
|
||||||
|
|
Loading…
Reference in New Issue