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:
satchit8 2017-07-05 23:40:38 +00:00 committed by GitHub
parent 98bf0ae79e
commit cba1acaddb
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@
[:input#toggle-all
{:type "checkbox"
:checked all-complete?
:on-change #(dispatch [:complete-all-toggle (not all-complete?)])}]
:on-change #(dispatch [:complete-all-toggle])}]
[:label
{:for "toggle-all"}
"Mark all as complete"]