From 0add574d631c8fa36ce093f575a9c2178a5af0d2 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Sun, 30 Jul 2017 13:25:54 +0300 Subject: [PATCH] basilisk send res render bug fix --- react/src/components/dashboard/sendCoin/sendCoin.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react/src/components/dashboard/sendCoin/sendCoin.js b/react/src/components/dashboard/sendCoin/sendCoin.js index 39566aa..506881c 100644 --- a/react/src/components/dashboard/sendCoin/sendCoin.js +++ b/react/src/components/dashboard/sendCoin/sendCoin.js @@ -697,6 +697,8 @@ class SendCoin extends React.Component { ); } } else if (key === 'sendrawtransaction') { + const _lastSendToResponse = this.props.ActiveCoin.lastSendToResponse; + if (_lastSendToResponse[key] === 'success') { return ( true @@ -707,6 +709,8 @@ class SendCoin extends React.Component { ); } } else if (key === 'txid' || key === 'sent') { + const _lastSendToResponse = this.props.ActiveCoin.lastSendToResponse; + return ( { _lastSendToResponse[key] } );