Browse Source

native receive missing return in render

all-modes
pbca26 7 years ago
parent
commit
5417e0ebe8
  1. 6
      react/src/components/dashboard/receiveCoin/receiveCoin.render.js
  2. 2
      react/src/components/dashboard/walletsNativeReceive/walletsNativeReceive.js

6
react/src/components/dashboard/receiveCoin/receiveCoin.render.js

@ -27,7 +27,7 @@ export const AddressActionsBasiliskModeRender = function(address) {
); );
}; };
export const AddressActionsNonBasiliskModeRender = function (address) { export const AddressActionsNonBasiliskModeRender = function(address) {
return ( return (
<td> <td>
<span className="label label-default"> <span className="label label-default">
@ -40,7 +40,7 @@ export const AddressActionsNonBasiliskModeRender = function (address) {
); );
}; };
export const AddressItemRender = function (address) { export const AddressItemRender = function(address) {
return ( return (
<tr key={ address.address }> <tr key={ address.address }>
{ this.renderAddressActions(address.address) } { this.renderAddressActions(address.address) }
@ -51,7 +51,7 @@ export const AddressItemRender = function (address) {
); );
}; };
export const ReceiveCoinRender = function () { export const ReceiveCoinRender = function() {
return ( return (
<div> <div>
<div className="col-xs-12 margin-top-20"> <div className="col-xs-12 margin-top-20">

2
react/src/components/dashboard/walletsNativeReceive/walletsNativeReceive.js

@ -66,7 +66,7 @@ class WalletsNativeReceive extends React.Component {
if (this.props && if (this.props &&
this.props.ActiveCoin && this.props.ActiveCoin &&
this.props.ActiveCoin.nativeActiveSection === 'receive') { this.props.ActiveCoin.nativeActiveSection === 'receive') {
WalletsNativeReceiveRender.call(this); return WalletsNativeReceiveRender.call(this);
} }
return null; return null;

Loading…
Cancel
Save