                      :todo/completed false})
    :ident         [:todo/id :todo/id]
    :query         [:todo/id :todo/title :todo/completed]
-   :css           [[:.completed {:text-decoration "line-through"}]
+   :css           [[:.completed [:label {:text-decoration "line-through"}]]
                    [:.creating {:color "#ccc"}]]
    :css-include   []}
   (rk/block {:classes [(if completed :.completed)

    (rk/label
      (rk/input {:type    "checkbox"
                 :checked completed
                 :onChange #(fp/transact! this [`(update-todo-item ~{:todo/id id :todo/completed (not completed)})])})
      (str title))))


            [com.wsscode.pathom.fulcro.network :as pfn]
            [fulcro.client.mutations :as fm]
            [com.wsscode.fulcro.db-helpers :as db.h]
            [com.wsscode.fulcro.ui.reakit :as rk]
            [com.wsscode.fulcro.ui.icons.font-awesome :as fa]))

(declare TodoItem)

