mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-24 07:48:14 +00:00
Merge pull request #235 from micmarsh/patch-1
Fix typo in first effect map
This commit is contained in:
commit
3ef6304857
@ -57,7 +57,7 @@ Here's an `-fx` handler which counts up to some number in chunks:
|
||||
;; We are at the beginning, so:
|
||||
;; - modify db, causing popup of Modal saying "Working ..."
|
||||
;; - begin iterative dispatch. Give initial version of "so-far"
|
||||
{:disptch 1[:count-to false {:counter 0} finish-at] ;; dispatch to self
|
||||
{:dispatch [:count-to false {:counter 0} finish-at] ;; dispatch to self
|
||||
:db (assoc db :we-are-working true)}
|
||||
(if (> (:counter so-far) finish-at)
|
||||
;; We are finished:
|
||||
|
Loading…
x
Reference in New Issue
Block a user