Skip to content
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

Merged
merged 5 commits into from
Apr 9, 2024
Merged

Conversation

Copy link

vercel bot commented Apr 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ckb-explorer-frontend-in-magickbase-repo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2024 8:48am

@Keith-CY
Copy link
Member Author

Keith-CY commented Apr 9, 2024

Please have a review @Daryl-L @PainterPuppets

<div
style={{
width: '280px',
height: 200,
Copy link

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.

Copy link
Member Author

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
Copy link

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.

Copy link
Member Author

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
@Keith-CY Keith-CY merged commit c80170c into develop Apr 9, 2024
8 checks passed
@Keith-CY Keith-CY deleted the add-node-geo-distribution branch April 9, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants