                         (dom/tbody nil
                                    (interleave
                                      (map #(poketable-entry (lib/merge-react-key %)) (lib/inventory-pokemon))
-                                     (map #(poketable-entry-details (lib/merge-react-key %)) (lib/inventory-pokemon))))
-                        #_(apply dom/tbody nil
-                                 (map #(poketable-entry (lib/merge-react-key %)) (lib/inventory-pokemon))))
+                                     (map #(poketable-entry-details (lib/merge-react-key %)) (lib/inventory-pokemon)))))
              #_(let [jquery (js* "$")]
                  (.stickyTableHeaders (jquery "#poketable"))))))
 (def poketable (om/factory PokeTable {}))

                                           (dom/th nil "")
                                           (vlib/sortable-table-header :favorite "Fav.")
                                           (vlib/sortable-table-header :pokemon_id "#")
                                           (vlib/sortable-table-header :name "Name")
                                           (vlib/sortable-table-header :nickname "Nickname")
                                           (vlib/sortable-table-header :cp "CP")

    (let [pokemon (om/props this)]
      (dom/tr #js {:id        (str "poketable-row-details-" (:id pokemon))
                   :className "collapse"}
              (dom/td #js {:className "well"})
              (dom/td #js {:className "well" :colSpan 3} (dom/img #js {:src (str "img/pokemon/models/" (:pokemon_id pokemon) ".png")
                                                                       :className "pokemon-image"}))
              (dom/td #js {:className "well" :colSpan 10}
                      (dom/div #js {:className "row"}
                               (dom/div #js {:className "col-md-2"} "Available Candy:")
                               (dom/div #js {:className "col-md-10"} (:candy pokemon))))))))
(def poketable-entry-details (om/factory PokeTableEntryDetails {}))

(defui PokeTableEntry
