Wait for blockchain to display the account management routes

This commit is contained in:
Brandon Millman
2018-05-14 22:11:12 -07:00
parent c787dc7356
commit e0482f5400
4 changed files with 78 additions and 47 deletions

View File

@@ -59,10 +59,10 @@ export class RelayerIndex extends React.Component<RelayerIndexProps, RelayerInde
const readyToRender = _.isUndefined(this.state.error) && !_.isUndefined(this.state.relayerInfos);
if (!readyToRender) {
return (
<div className="col col-12" style={{ ...styles.root, height: '100%' }}>
<div className="pt4 sm-px2 sm-pt2 sm-m1" style={{ height: 500 }}>
<div
className="relative sm-px2 sm-pt2 sm-m1"
style={{ height: 122, top: '33%', transform: 'translateY(-50%)' }}
style={{ height: 122, top: '50%', transform: 'translateY(-50%)' }}
>
<div className="center pb2">
{_.isUndefined(this.state.error) ? (