diff --git a/src/v2/components/TourDeSol/Cards/index.jsx b/src/v2/components/TourDeSol/Cards/index.jsx index 07573d51..fffe5c26 100644 --- a/src/v2/components/TourDeSol/Cards/index.jsx +++ b/src/v2/components/TourDeSol/Cards/index.jsx @@ -14,7 +14,6 @@ const Cards = ({ }) => { const classes = useStyles(); const { - network, validators, inactiveValidators, supply, diff --git a/src/v2/stores/nodes.js b/src/v2/stores/nodes.js index 2565693a..9a47fbad 100644 --- a/src/v2/stores/nodes.js +++ b/src/v2/stores/nodes.js @@ -8,22 +8,22 @@ class Store { }; clusterChanges = {}; - constructor() { - // observe(this, 'network', ({oldValue, newValue}) => { - // if (!keys(oldValue).length) { - // return; - // } - // this.clusterChanges = compose( - // mapValues.convert({cap: false})((value, key) => { - // if (eq('nodes', key)) { - // return calcChanges(oldValue[key].length, value.length); - // } - // return calcChanges(oldValue[key], value); - // }), - // pick(['nodes', 'supply']), - // )(newValue); - // }); - } + // constructor() { + // observe(this, 'network', ({oldValue, newValue}) => { + // if (!keys(oldValue).length) { + // return; + // } + // this.clusterChanges = compose( + // mapValues.convert({cap: false})((value, key) => { + // if (eq('nodes', key)) { + // return calcChanges(oldValue[key].length, value.length); + // } + // return calcChanges(oldValue[key], value); + // }), + // pick(['nodes', 'supply']), + // )(newValue); + // }); + // } updateClusterInfo = data => { data = JSON.parse(data);