mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 07:18:22 +00:00
add missed ')' in code example for Domino 5
add missed ')' in code example for Domino 5
This commit is contained in:
parent
cf61b2db1d
commit
56e17bce85
@ -370,7 +370,7 @@ for the now-deleted item, obviously, but otherwise the same DOM as last time.
|
||||
(defn items-view
|
||||
[]
|
||||
(let [items (subscribe [:query-items])] ;; source items from app state
|
||||
[:div (map item-render @items])) ;; assume item-render already written
|
||||
[:div (map item-render @items)])) ;; assume item-render already written
|
||||
```
|
||||
|
||||
Notice how `items` is "sourced" from "app state" via `subscribe`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user