Refactor: AddressInfo and EtherscanButton#50
Conversation
ESLint Summary View Full Report
Report generated by eslint-plus-action |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
fernandomg
left a comment
There was a problem hiding this comment.
@nicosampler left a few comments
|
sorry, it was too early. Check it now @fernandomg, please. |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
replace onKyePress by onKeyDown Co-authored-by: Fernando <fernando.greco@gmail.com>
replace onKyePress by onKeyDown Co-authored-by: Fernando <fernando.greco@gmail.com>
…components into address-info-refactor
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
@mikheevm I'm merging this PR so we can move forward. If you think any other change needs to be done, I'll work on it in a new PR. |
Remove type in EtherscanButton. It can be inferred using value length. If it's > 42 is assumed to be a TX else an address. If the value is > (66 a TX) can be assumed to be a data value, but for this case, EtherscaButton should not be used.
Rename AddressInfo to EthHashInfo and make the required changes to work with the new EthersacanButton interface.
@fernandomg requested to stop events propagation for EtherscanButton and copyButton. That's to avoid problems with
<AddressInput />component.