 
 
 (react/defc ConfigExporter
-  {:component-will-mount
-   (fn [{:keys [state props]}]
-     (when-not (:workspace-id props)
-       (endpoints/call-ajax-orch
-        {:endpoint endpoints/list-workspaces
-         :on-done (fn [{:keys [success? get-parsed-response status-text]}]
-                    (if success?
-                      (let [ws-list (get-parsed-response)]
-                        (swap! state assoc :workspaces-list ws-list :selected-workspace (first ws-list)))
-                      (swap! state assoc :error status-text)))})))
-   :render
-   (fn [{:keys [props state locals refs]}]
+  {:render
+   (fn [{:keys [props state refs]}]
      (let [{:keys [workspace-id entity perform-copy]} props
-           {:keys [workspaces-list]} @state]
+           {:keys [selected-workspace]} @state]
        [:div {:style {:border style/standard-line
                       :backgroundColor (:background-light style/colors)
                       :borderRadius 8 :padding "1em" :marginTop "1em"}}

   [broadfcui.components.buttons :as buttons]
   [broadfcui.components.sticky :refer [Sticky]]
   [broadfcui.components.modals :as modals]
   [broadfcui.endpoints :as endpoints]
   [broadfcui.nav :as nav]
   [broadfcui.page.method-repo.create-method :as create]

(ns broadfcui.page.method-repo.method-config-importer
  (:require
   [dmohs.react :as react]
   [broadfcui.common :as common]
   [broadfcui.common.components :as comps]
   [broadfcui.common.flex-utils :as flex]
