Treat clock numbers as strings, not BigNums. (#5449)
This commit is contained in:
parent
30b3b5e2a7
commit
43175f17e4
@ -103,7 +103,7 @@ class Requests extends Component {
|
|||||||
<LinearProgress
|
<LinearProgress
|
||||||
max={ 6 }
|
max={ 6 }
|
||||||
mode={ state.type === WAITING_STATE ? 'indeterminate' : 'determinate' }
|
mode={ state.type === WAITING_STATE ? 'indeterminate' : 'determinate' }
|
||||||
value={ state.type === DONE_STATE ? request.blockHeight.toNumber() : 6 }
|
value={ state.type === DONE_STATE ? +request.blockHeight : 6 }
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -158,8 +158,8 @@ class Requests extends Component {
|
|||||||
id='requests.status.transactionMined'
|
id='requests.status.transactionMined'
|
||||||
defaultMessage='Transaction mined at block #{blockNumber} ({blockHeight} blocks ago)'
|
defaultMessage='Transaction mined at block #{blockNumber} ({blockHeight} blocks ago)'
|
||||||
values={ {
|
values={ {
|
||||||
blockHeight: request.blockHeight.toNumber(),
|
blockHeight: +request.blockHeight,
|
||||||
blockNumber: transactionReceipt.blockNumber.toFormat()
|
blockNumber: +transactionReceipt.blockNumber
|
||||||
} }
|
} }
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user