Merge pull request #59 from marxama/develop

Removed incorrect deref
This commit is contained in:
Mike Thompson 2015-05-26 22:00:20 +10:00
commit 41f07d2c1b

View File

@ -732,7 +732,7 @@ The subscription-handler might be written:
(reaction
(let [items (get-in @db [:items]) ;; extract items from db
sort-attr (get-in @db [:sort-by])] ;; extract sort key from db
(sort-by @sort-attr @items))))) ;; return them sorted
(sort-by sort-attr items))))) ;; return them sorted
```