From 7235bb84b44ba2a660e5f2d2538ca3a20bc864d0 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Wed, 7 Jun 2017 19:23:51 +0300 Subject: [PATCH] settings wif export fix --- react/src/actions/actions/settings.js | 2 +- react/src/components/dashboard/settings.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/react/src/actions/actions/settings.js b/react/src/actions/actions/settings.js index 5efe2e5..6f61fe4 100644 --- a/react/src/actions/actions/settings.js +++ b/react/src/actions/actions/settings.js @@ -42,7 +42,7 @@ export function getAppInfo() { export function settingsWifkeyState(json, coin) { return { type: GET_WIF_KEY, - wifkey: json[`{$coin}wif`], + wifkey: json[`${coin}wif`], address: json[coin], } } diff --git a/react/src/components/dashboard/settings.js b/react/src/components/dashboard/settings.js index 452b96b..98e8f9a 100644 --- a/react/src/components/dashboard/settings.js +++ b/react/src/components/dashboard/settings.js @@ -627,16 +627,16 @@ class Settings extends React.Component {
- - + - +
+ { this.props.ActiveCoin.coin } { this.props.Settings.address }{ this.props.Settings.address }
{ this.props.ActiveCoin.coin }Wif { this.props.Settings.wifkey }{ this.props.Settings.wifkey }