-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Explorer validator sorting #7481
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
@Jibz1 following up on our conversation yesterday,
- default sort by stake
- remove unsorted state
f87ad66
to
2effabc
Compare
2effabc
to
2581fc0
Compare
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.
Approving to unblock but some nits
{ | ||
header: '#', | ||
accessorKey: 'number', | ||
cell: (props: any) => ( |
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.
Don't love the any
's here. We can follow-up later with an improved Table component, just want to call it out
apps/explorer/src/ui/TableCard.tsx
Outdated
onClick={ | ||
column.columnDef.enableSorting | ||
? column.getToggleSortingHandler() | ||
: void 0 |
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.
Just use undefined
?
Screen.Recording.2023-01-20.at.9.17.20.AM.mov