Getting ecosystem from canvas app
This commit is contained in:
1 parent
263a3fceba
commit
f949576274
3 files changed
+1
-5
No files matched your search
@@ -252,8 +252,6 @@ class Auth {
|
||||
}
|
||||
setItem('user', JSON.stringify(user))
|
||||
|
||||
await setInitialEcosystem()
|
||||
|
||||
window.location.href = '/'
|
||||
return response.data
|
||||
} catch (err) {
|
||||
|
||||
@@ -17,6 +17,7 @@ export const ECOSYSTEM_QUERY = gql`
|
||||
codeName
|
||||
displayName
|
||||
type
|
||||
profilePicture
|
||||
repo
|
||||
configFile
|
||||
products{
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in new issue
Block a user