-
Notifications
You must be signed in to change notification settings - Fork 95
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
Indicate unclaimed rewards #5121
Indicate unclaimed rewards #5121
Conversation
src/modules/pos/validator/components/StakeSummary/StakeSummary.test.js
Outdated
Show resolved
Hide resolved
@eniolam1000752 can't we display each element in 1 row? otherwise it can be difficult to view the changes. |
src/modules/transaction/components/StakeValidate/StakeValidator.js
Outdated
Show resolved
Hide resolved
serviceUrl: mainChainNetwork.serviceUrl, | ||
}) | ||
); | ||
setIsLoading(true); |
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.
Do we need to call setIsLoading(true)
twice in this function? See line 176 as well
@@ -231,9 +284,9 @@ const StakeForm = ({ t, stakes, account, isStakingTxPending, nextStep, history, | |||
/> |
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.
Not related to this line:
Maybe we should rename the buttonTitle
label to
buttonTitle={showEmptyState ? t('Continue to validator list') : t('Continue')}
Since that seems to be where it is navigating.
I dont know in which scenario we show this component when showEmptyState. Do you know how to test that flow?
src/modules/transaction/components/StakeValidate/StakeValidator.js
Outdated
Show resolved
Hide resolved
</div> | ||
{/* <div className={styles.txFeeContainer}> |
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.
Comment
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.
It was a dead code.. i checked the UI the transaction fees are showned.
What was the problem?
This PR resolves #5064
How was it solved?
How was it tested?
Contine
button