-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[SIP-6] removed get_data for BigNumber #5861
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5861 +/- ##
===========================================
- Coverage 77.99% 63.66% -14.33%
===========================================
Files 46 376 +330
Lines 9312 23337 +14025
Branches 0 2612 +2612
===========================================
+ Hits 7263 14858 +7595
- Misses 2049 8466 +6417
- Partials 0 13 +13
Continue to review full report at Codecov.
|
509b140
to
c63a52e
Compare
@@ -0,0 +1,5 @@ | |||
import adapter from './adaptor'; |
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.
typo adapt"o"r
@@ -26,7 +23,7 @@ const PROPORTION = { | |||
TRENDLINE: 0.3, | |||
}; | |||
|
|||
function renderTooltipFactory(formatValue) { | |||
export function renderTooltipFactory(formatValue) { |
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.
This was used only in this file. Not sure it is useful to export now. (ok to expert if there are other places using or unit test)
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.
Actually it is also used in adaptor for the prop renderTooltip
. That is why I exported it :)
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.
I missed that. Thank you!
* removed get_data for BigNumber * removed duplicated condition * fixed typo
This PR is to move
get_data
logic forBigNumber
andBigNumber
Total into frontend code.#5692
@kristw @williaster @mistercrunch