             [frontend.components.inputs :as inputs]
             [frontend.components.pieces.button :as button]
             [frontend.components.pieces.card :as card]
+            [frontend.components.pieces.empty-state :as empty-state]
             [frontend.components.pieces.form :as form]
             [frontend.components.pieces.dropdown :as dropdown]
             [frontend.components.pieces.icon :as icon]

             (om/build p12-key-table {:rows (->> osx-keys
                                                 (map (partial merge {:project-name project-name
                                                                      :vcs-type vcs-type})))})
             (om/build no-keys-empty-state {:project-name project-name
                                            :add-key #(om/set-state! owner :show-modal? true)}))
           (when show-modal?
             (om/build p12-upload-modal {:close-fn #(om/set-state! owner :show-modal? false)
                                         :error-message error-message

                                                           [:delete-provisioning-profile
                                                            (select-keys profile [:project-name :vcs-type :uuid])])}))}]}))))

(defn p12-upload-modal [{:keys [close-fn error-message project-name vcs-type]} owner]
  (reify
    om/IInitState
