@@ -12,7 +12,7 @@ const ExportAccountView = require('./components/account-export')
1212const ethUtil = require ( 'ethereumjs-util' )
1313const EditableLabel = require ( './components/editable-label' )
1414const TabBar = require ( './components/tab-bar' )
15- const TokenList = require ( './components/token-list' )
15+ // const TokenList = require('./components/token-list')
1616const AccountDropdowns = require ( './components/account-dropdowns' ) . AccountDropdowns
1717
1818module . exports = connect ( mapStateToProps ) ( AccountDetailScreen )
@@ -255,17 +255,34 @@ AccountDetailScreen.prototype.tabSections = function () {
255255
256256AccountDetailScreen . prototype . tabSwitchView = function ( ) {
257257 const props = this . props
258- const { address, network } = props
259- const { currentAccountTab, tokens } = this . props
258+ const { address/* , network */ } = props
259+ const { currentAccountTab/* , tokens*/ } = this . props
260260
261261 switch ( currentAccountTab ) {
262262 case 'tokens' :
263- return h ( TokenList , {
264- userAddress : address ,
265- network,
266- tokens,
267- addToken : ( ) => this . props . dispatch ( actions . showAddTokenPage ( ) ) ,
268- } )
263+ // return h(TokenList, {
264+ // userAddress: address,
265+ // network,
266+ // tokens,
267+ // addToken: () => this.props.dispatch(actions.showAddTokenPage()),
268+ // })
269+ return h ( '.hotFix' , {
270+ style : {
271+ padding : '80px' ,
272+ } ,
273+ } , [
274+ 'Token lists are temporarily down. You can check you your token balances ' ,
275+ h ( 'span.hotFix' , {
276+ style : {
277+ color : 'rgba(247, 134, 28, 1)' ,
278+ cursor : 'pointer' ,
279+ } ,
280+ onClick : ( ) => {
281+ global . platform . openWindow ( {
282+ url : `https://ethplorer.io/address/${ address } ` ,
283+ } )
284+ } ,
285+ } , 'here' ) ] )
269286 default :
270287 return this . transactionList ( )
271288 }
0 commit comments