-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: add node geo distribution chart #283
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fcb8839
to
ae72700
Compare
ae72700
to
4a08d2d
Compare
4a08d2d
to
350702b
Compare
Please have a review @Daryl-L @PainterPuppets |
<div | ||
style={{ | ||
width: '280px', | ||
height: 200, |
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.
Use both number or both string maybe better here I think.
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.
Updated by 3889408
main: { | ||
intensity: 10, | ||
shadow: true, | ||
time: new Date(0x16e70e6985c), // launch time of CKB mainnet |
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.
Use a constant value named the comment could be better.
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.
Updated by 3889408
1. define a constant for the launch time of mainnet 2. use number instead of string in inline style
Ref: Magickbase/ckb-explorer-public-issues#579
Preview: https://ckb-explorer-frontend-in-magickbase-repo-git-848722-magickbase.vercel.app/charts/node-geo-distribution