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
|
||||
max={ 6 }
|
||||
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'
|
||||
defaultMessage='Transaction mined at block #{blockNumber} ({blockHeight} blocks ago)'
|
||||
values={ {
|
||||
blockHeight: request.blockHeight.toNumber(),
|
||||
blockNumber: transactionReceipt.blockNumber.toFormat()
|
||||
blockHeight: +request.blockHeight,
|
||||
blockNumber: +transactionReceipt.blockNumber
|
||||
} }
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user