diff --git a/app/components/Blockchain/Fees.jsx b/app/components/Blockchain/Fees.jsx index 0b3d5b297f..e01d881547 100644 --- a/app/components/Blockchain/Fees.jsx +++ b/app/components/Blockchain/Fees.jsx @@ -41,7 +41,7 @@ class FeeGroup extends React.Component { shouldComponentUpdate(nextProps) { return ( !Immutable.is(nextProps.globalObject, this.props.globalObject) - ); + ); } render() { @@ -58,8 +58,8 @@ class FeeGroup extends React.Component { let fees = opIds.map((feeIdx) => { if (feeIdx >= feesRaw.length) { - console.warn("Asking for non-existing fee id %d! Check group settings in Fees.jsx", feeIdx); - return; // FIXME, if I ask for a fee that does not exist? + console.warn("Asking for non-existing fee id %d! Check group settings in Fees.jsx", feeIdx); + return; // FIXME, if I ask for a fee that does not exist? } let feeStruct = feesRaw[feeIdx]; @@ -85,62 +85,51 @@ class FeeGroup extends React.Component { if (!headIncluded) { headIncluded = true title = ( - - {feename} - - ) + + {feename} + + ) } if (ltm_required.indexOf(opId)<0) { - if (feeTypes[key]==="Annual Membership") { - rows.push( - - {title} - {feeTypes[key]} - {equivalentAmount} - {equivalentAmountLTM} - - ); - } else { - rows.push( - - {title} - {feeTypes[key]} - {equivalentAmount} - {equivalentAmountLTM} - - ); - } + rows.push( + + {title} + {feeTypes[key]} + {equivalentAmount} + {equivalentAmountLTM} + + ); } else { rows.push( - - {title} - {feeTypes[key]} - - * - {equivalentAmountLTM} - - ); + + {title} + {feeTypes[key]} + - * + {equivalentAmountLTM} + + ); } } return ({rows}); }) return ( -
-
{this.props.title}
- - - - - - - - - - {fees} -
-
- ); +
+
{this.props.title}
+ + + + + + + + + + {fees} +
+
+ ); } } FeeGroup = BindToChainState(FeeGroup, {keep_updating:true}); @@ -162,12 +151,12 @@ class Fees extends React.Component {
- +
-
- {feeGroups} -
+
+ {feeGroups} +