Browse Source

WalletsCacheData - add missing import

WalletsNotariesList - add missing return
all-modes
petitPapillon 8 years ago
parent
commit
6b0e602524
  1. 2
      react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js
  2. 2
      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 React from 'react';
import { translate } from '../../../translate/translate'; import { translate } from '../../../translate/translate';
import { animation } from '../../../util/rc-tree-animate'; import { animation } from '../../../util/rc-tree-animate';
import { TreeNode } from 'rc-tree'; import Tree, { TreeNode } from 'rc-tree';
const WalletsCacheDataRender = function() { const WalletsCacheDataRender = function() {
return ( return (

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

@ -4,6 +4,7 @@ import Tree, { TreeNode } from 'rc-tree';
import { animation } from '../../../util/rc-tree-animate'; import { animation } from '../../../util/rc-tree-animate';
export const NotariesListRender = function (node, index) { export const NotariesListRender = function (node, index) {
return (
<TreeNode <TreeNode
title={ `Node ${index}` } title={ `Node ${index}` }
key={ `node-${index}` }> key={ `node-${index}` }>
@ -17,6 +18,7 @@ export const NotariesListRender = function (node, index) {
key={ `node-${index}-pubkey` } key={ `node-${index}-pubkey` }
title={ `Pubkey: ${node.pubkey}` } /> title={ `Pubkey: ${node.pubkey}` } />
</TreeNode> </TreeNode>
);
}; };
export const WalletsNotariesListRender = function () { export const WalletsNotariesListRender = function () {

Loading…
Cancel
Save