-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix: Display user reputation in its non-scientific notation format #2946
Conversation
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.
Really cool you picked this up @rumzledz 🤩
Now the tooltip value shows up nicely
Only left a small comment if you consider to pick it up 🙏
decimals={getTokenDecimalsWithFallback( | ||
colony.nativeToken.decimals, | ||
DEFAULT_TOKEN_DECIMALS, | ||
)} |
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.
Given the getTokenDecimalsWithFallback
already uses DEFAULT_TOKEN_DECIMALS
as it's fallback value I think we can skip passing it as the 2nd argument
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.
Oh you're right @mmioana , you know what I'll clean up other places where this is being done as well 👌
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.
@mmioana pushed! 🚀 I've also cleaned up other areas that use this redundant 2nd argument
…ecimalsWithFallback function
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.
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.
Nice fix, nice clean up, nice job @rumzledz! 🧹
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.
Nice job @rumzledz ! Thanks for clean up
Description
Testing
Resolves #2706