mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
Do not fetch processes/plugins/services at
each route change Version is not fetched anymore, we cannot use them as an anchore
This commit is contained in:
parent
892200a236
commit
3bb696e4d3
@ -18,7 +18,7 @@ import {
|
|||||||
|
|
||||||
import {LIGHT_THEME, DARK_THEME} from '../constants';
|
import {LIGHT_THEME, DARK_THEME} from '../constants';
|
||||||
|
|
||||||
import { getCredentials, getAuthenticationError, getVersions, getTheme } from '../reducers/selectors';
|
import { getCredentials, getAuthenticationError, getProcesses, getTheme } from '../reducers/selectors';
|
||||||
|
|
||||||
const qs = require('qs');
|
const qs = require('qs');
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ AppContainer.propTypes = {
|
|||||||
|
|
||||||
function mapStateToProps(state) {
|
function mapStateToProps(state) {
|
||||||
return {
|
return {
|
||||||
initialized: getVersions(state).length > 0,
|
initialized: getProcesses(state).length > 0,
|
||||||
credentials: getCredentials(state),
|
credentials: getCredentials(state),
|
||||||
authenticationError: getAuthenticationError(state),
|
authenticationError: getAuthenticationError(state),
|
||||||
theme: getTheme(state),
|
theme: getTheme(state),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user