diff --git a/client/src/auth/index.js b/client/src/auth/index.js index 85c260e34..9b35d50bf 100644 --- a/client/src/auth/index.js +++ b/client/src/auth/index.js @@ -252,8 +252,6 @@ class Auth { } setItem('user', JSON.stringify(user)) - await setInitialEcosystem() - window.location.href = '/' return response.data } catch (err) { diff --git a/client/src/graphql/EcosystemQuery.js b/client/src/graphql/EcosystemQuery.js index 70c8412f9..5f0ab6ef4 100644 --- a/client/src/graphql/EcosystemQuery.js +++ b/client/src/graphql/EcosystemQuery.js @@ -17,6 +17,7 @@ export const ECOSYSTEM_QUERY = gql` codeName displayName type + profilePicture repo configFile products{ diff --git a/client/src/index.js b/client/src/index.js index 7289c47cc..acbab7067 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -5,7 +5,6 @@ import MasterApp from './App' import { createStore } from 'redux' import { Provider } from 'react-redux' import rootReducer from './reducers/rootReducer' -import { setInitialEcosystem } from './utils/ecosystem' const store = createStore(rootReducer) @@ -13,8 +12,6 @@ if (process.env.NODE_ENV !== 'production') { window.localStorage.setItem('debug', 'advanced-algos:*') } -setInitialEcosystem() - ReactDOM.render(