Fix Secure API hangs (#3927)
* Use proxy for WS in dev * Update SecureAPI * Update webpack config * Fix dev contract * Update webpack * Linting fixes * Refactor Secure API logic : Promise based, no wastes of req * Fix tests * Add try 'intitial' token
This commit is contained in:
committed by
Gav Wood
parent
a9f89b09e0
commit
aba38721b1
@@ -62,9 +62,17 @@ class BlockStatus extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
let syncStatus = null;
|
||||
|
||||
if (syncing && syncing.currentBlock && syncing.highestBlock) {
|
||||
syncStatus = (
|
||||
<span>{ syncing.currentBlock.toFormat() }/{ syncing.highestBlock.toFormat() } syncing</span>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={ styles.syncStatus }>
|
||||
<span>{ syncing.currentBlock.toFormat() }/{ syncing.highestBlock.toFormat() } syncing</span>
|
||||
{ syncStatus }
|
||||
{ warpStatus }
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user