From 6b0e6025245ea33094435caa4d4287ec532715af Mon Sep 17 00:00:00 2001 From: petitPapillon Date: Sun, 18 Jun 2017 00:08:07 +0200 Subject: [PATCH] WalletsCacheData - add missing import WalletsNotariesList - add missing return --- .../walletsCacheData.render.js | 2 +- .../walletsNotariesList.render.js | 26 ++++++++++--------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js b/react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js index 43ee5fe..df3216a 100644 --- a/react/src/components/dashboard/walletsCacheData/walletsCacheData.render.js +++ b/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 ( diff --git a/react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js b/react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js index 2d12889..aa64dee 100644 --- a/react/src/components/dashboard/walletsNotariesList/walletsNotariesList.render.js +++ b/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) { - - - + return ( - + title={ `Node ${index}` } + key={ `node-${index}` }> + + + + + ); }; export const WalletsNotariesListRender = function () {