Browse Source

Merge pull request #139 from SuperNETorg/misc-fixes

Miscellaneous fixes
all-modes
pbca26 7 years ago
committed by GitHub
parent
commit
e29c97ab15
  1. 2
      react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js
  2. 26
      react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js

2
react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js

@ -1,7 +1,7 @@
import React from 'react';
import { translate } from '../../../translate/translate';
import { animation } from '../../../util/rc-tree-animate';
import { TreeNode } from 'rc-tree';
import Tree, { TreeNode } from 'rc-tree';
const WalletsCacheDataRender = function() {
return (

26
react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js

@ -4,19 +4,21 @@ import Tree, { TreeNode } from 'rc-tree';
import { animation } from '../../../util/rc-tree-animate';
export const NotariesListRender = function (node, index) {
<TreeNode
title={ `Node ${index}` }
key={ `node-${index}` }>
<TreeNode
key={ `node-${index}-btc` }
title={ `BTC: ${node.BTCaddress}` } />
<TreeNode
key={ `node-${index}-kmd` }
title={ `KMD: ${node.KMDaddress}` } />
return (
<TreeNode
key={ `node-${index}-pubkey` }
title={ `Pubkey: ${node.pubkey}` } />
</TreeNode>
title={ `Node ${index}` }
key={ `node-${index}` }>
<TreeNode
key={ `node-${index}-btc` }
title={ `BTC: ${node.BTCaddress}` } />
<TreeNode
key={ `node-${index}-kmd` }
title={ `KMD: ${node.KMDaddress}` } />
<TreeNode
key={ `node-${index}-pubkey` }
title={ `Pubkey: ${node.pubkey}` } />
</TreeNode>
);
};
export const WalletsNotariesListRender = function () {

Loading…
Cancel
Save