Getting ecosystem from canvas app

This commit is contained in:
Matias committed 2019-05-29 11:26:41 -03:00
1 parent 263a3fceba
commit f949576274
3 files changed
+1 -5

No files matched your search

-2
View File
@@ -252,8 +252,6 @@ class Auth {
}
setItem('user', JSON.stringify(user))
await setInitialEcosystem()
window.location.href = '/'
return response.data
} catch (err) {
+1
View File
@@ -17,6 +17,7 @@ export const ECOSYSTEM_QUERY = gql`
codeName
displayName
type
profilePicture
repo
configFile
products{
-3
View File
@@ -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(
<Provider store={store}>
<MasterApp />