                                            :get-state-ch (:get-state-ch state)}]
                             (om/build grid-view {:id id :beat-cursors (second beat-cursors)} {:state sub-state})))))))))
 
-(defn grid-editor [{:keys [id cursor set-state-ch]} owner]
+(defn grid-editor [{:keys [name id cursor set-state-ch], :as inputs} owner]
   (reify
     om/IInitState
     (init-state [_]

                          :synths []
                          :types ["synth" "sample" "grid"]
                          :grid-types ["synth" "sample"]
                          :errors []
                          :console []
                          :beat-cursors []}))

(def sample-editor
  (select-editor-builder "sample" samples))

(def bpc-editor
  (select-editor-builder "bpc" bpc-values))

(def type-editor
  (select-editor-builder "type" types
                         (fn [{:keys [cursor id set-state-ch key value owner]}]
