      [:div.result
       "No Results"])])
 
-(defn wrap-autocomplete [{:keys [config textarea-view results-view]}]
+(defn wrap-autocomplete [config]
   (let [autocomplete-chan (chan)
         kill-chan (chan)
         throttled-autocomplete-chan (debounce autocomplete-chan 100)

       :component-will-mount
       (fn [c]
         (swap! state assoc :text @thread-text)
         (let [{:keys [config]} (r/props c)]
           (go (loop []
                 (let [[v ch] (alts! [throttled-autocomplete-chan kill-chan])]
                   (when (= ch throttled-autocomplete-chan)

         (put! thread-text-kill-chan (js/Date.)))

       :reagent-render
       (fn [config]
         [:div.autocomplete-wrapper
          [textarea-view {:text (@state :text)
                          :config config
