-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: using transactions count from the token entry instead of the tokenInformation API #213
refactor: using transactions count from the token entry instead of the tokenInformation API #213
Conversation
…nt instead of transactions
<p><b>Total number of transactions:</b> { helpers.renderValue(this.state.transactionsCount, true) }</p> | ||
)} | ||
|
||
{(this.state.tokensApiError || this.state.tokenBalanceInformationError) &&( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hides the failed request data and displays a single error message for both
7063b34
to
d4965c6
Compare
)} | ||
|
||
{(this.state.tokensApiError || this.state.tokenBalanceInformationError) &&( | ||
<ErrorMessageWithIcon message='Error loading the complete token balance information. Please try again.' /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a "Reload" button to try again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, it would be specific for the hathor token though (so is this error message)
I would just suggest opening an issue for this instead of doing it in this PR so we can merge this and fix the bug in production
Acceptance Criteria
transactions
column from the token entry retrieved from the search to display the total number of transactions for a given tokenSecurity Checklist