@@ -14,7 +14,7 @@ import * as walletActions from "../../ducks/walletActions";
14
14
import { showError , showSuccess } from "../../ducks/notifications" ;
15
15
import * as nameActions from "../../ducks/names" ;
16
16
import * as nodeActions from "../../ducks/node" ;
17
- import { fetchTransactions } from ' ../../ducks/walletActions' ;
17
+ import { fetchTransactions } from " ../../ducks/walletActions" ;
18
18
19
19
const analytics = aClientStub ( ( ) => require ( "electron" ) . ipcRenderer ) ;
20
20
@@ -159,14 +159,14 @@ export default class Account extends Component {
159
159
} ;
160
160
161
161
const showFirstPlus =
162
- lockedBalance . bidding . num && lockedBalance . revealable . num ;
162
+ lockedBalance . bidding . HNS && lockedBalance . revealable . HNS ;
163
163
const showSecondPlus =
164
- ( lockedBalance . bidding . num && lockedBalance . finished . num ) ||
165
- ( lockedBalance . revealable . num && lockedBalance . finished . num ) ;
164
+ ( lockedBalance . bidding . HNS && lockedBalance . finished . HNS ) ||
165
+ ( lockedBalance . revealable . HNS && lockedBalance . finished . HNS ) ;
166
166
const noLockedHNS = ! (
167
- lockedBalance . bidding . num ||
168
- lockedBalance . revealable . num ||
169
- lockedBalance . finished . num
167
+ lockedBalance . bidding . HNS ||
168
+ lockedBalance . revealable . HNS ||
169
+ lockedBalance . finished . HNS
170
170
) ;
171
171
172
172
return (
@@ -183,7 +183,7 @@ export default class Account extends Component {
183
183
</ div >
184
184
185
185
{ /* Locked Balance - In bids */ }
186
- { lockedBalance . bidding . num > 0 ? (
186
+ { lockedBalance . bidding . HNS > 0 ? (
187
187
< div className = "account__header__section" >
188
188
< span className = "label" > LOCKED</ span >
189
189
< p className = "amount" >
@@ -201,7 +201,7 @@ export default class Account extends Component {
201
201
{ showFirstPlus ? < div className = "plus" > +</ div > : "" }
202
202
203
203
{ /* Locked Balance - In Reveal */ }
204
- { lockedBalance . revealable . num > 0 ? (
204
+ { lockedBalance . revealable . HNS > 0 ? (
205
205
< div className = "account__header__section" >
206
206
< span className = "label" > LOCKED</ span >
207
207
< p className = "amount" >
@@ -219,7 +219,7 @@ export default class Account extends Component {
219
219
{ showSecondPlus ? < div className = "plus" > +</ div > : "" }
220
220
221
221
{ /* Locked Balance - Finished */ }
222
- { lockedBalance . finished . num > 0 ? (
222
+ { lockedBalance . finished . HNS > 0 ? (
223
223
< div className = "account__header__section" >
224
224
< span className = "label" > LOCKED</ span >
225
225
< p className = "amount" >
0 commit comments