Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: yarn lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnygleason committed Aug 22, 2019
1 parent 46b325e commit c6c302d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
1 change: 0 additions & 1 deletion src/v2/components/TourDeSol/Cards/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const Cards = ({
}) => {
const classes = useStyles();
const {
network,
validators,
inactiveValidators,
supply,
Expand Down
32 changes: 16 additions & 16 deletions src/v2/stores/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c6c302d

Please sign in to comment.