Remove extraneous code
The event handler for :complete-all-toggle doesn't appear to require any info from the event vector.
This commit is contained in:
parent
98bf0ae79e
commit
cba1acaddb
|
@ -55,7 +55,7 @@
|
||||||
[:input#toggle-all
|
[:input#toggle-all
|
||||||
{:type "checkbox"
|
{:type "checkbox"
|
||||||
:checked all-complete?
|
:checked all-complete?
|
||||||
:on-change #(dispatch [:complete-all-toggle (not all-complete?)])}]
|
:on-change #(dispatch [:complete-all-toggle])}]
|
||||||
[:label
|
[:label
|
||||||
{:for "toggle-all"}
|
{:for "toggle-all"}
|
||||||
"Mark all as complete"]
|
"Mark all as complete"]
|
||||||
|
|
Loading…
Reference in New Issue