diff --git a/src/cljs/grub/state.cljs b/src/cljs/grub/state.cljs index b64c29f..5dff427 100644 --- a/src/cljs/grub/state.cljs +++ b/src/cljs/grub/state.cljs @@ -11,7 +11,6 @@ :default :unknown-event) (defmethod handle-grub-event :unknown-event [event grubs] - (logs "Cannot handle unknown event:" event) grubs) (defn new-grub [id grub completed] @@ -49,7 +48,6 @@ :default :unknown-event) (defmethod handle-recipe-event :unknown-event [event recipes] - (logs "Cannot handle unknown event:" event) recipes) (defn new-recipe [id name grubs] @@ -69,18 +67,14 @@ (assoc-in [(:id event) :name] (:name event)) (assoc-in [(:id event) :grubs] (:grubs event)))) -(defn update-state-and-render [remote-chan] - (let [out (chan)] - (go-loop [state default-app-state] - (let [event (