From 00efd3d53a1a29ddb421d1fac2c4c74509c5522a Mon Sep 17 00:00:00 2001 From: Nicholas Kariniemi Date: Wed, 6 Aug 2014 00:09:11 +0300 Subject: [PATCH] Remove unused local events --- src/cljs/grub/view/grub.cljs | 4 +--- src/cljs/grub/view/recipe.cljs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/cljs/grub/view/grub.cljs b/src/cljs/grub/view/grub.cljs index 276b6e7..81cad4c 100644 --- a/src/cljs/grub/view/grub.cljs +++ b/src/cljs/grub/view/grub.cljs @@ -62,12 +62,10 @@ (init-state [_] (let [publisher (chan)] {:edit-state :waiting - :>local-events publisher - :local-events] :as state}] + (render-state [_ {:keys [edit-state] :as state}] (html [:li.list-group-item.grub-item {:class [(when completed "completed") diff --git a/src/cljs/grub/view/recipe.cljs b/src/cljs/grub/view/recipe.cljs index 00516d1..c445f53 100644 --- a/src/cljs/grub/view/recipe.cljs +++ b/src/cljs/grub/view/recipe.cljs @@ -55,8 +55,6 @@ (init-state [_] (let [publisher (chan)] {:edit-state :waiting - :>local-events publisher - :local-events name grubs]}] + (render-state [this {:keys [edit-state name grubs]}] (let [update (om/get-shared owner :recipe-update) add-grubs-ch (om/get-shared owner :recipe-add-grubs)] (html