-
Notifications
You must be signed in to change notification settings - Fork 11
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
Markets Single Table #1307
Markets Single Table #1307
Conversation
franm91
commented
Dec 7, 2023
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.
🚀
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.
code LGTM
const defaultRows = useMemo<TableRow[]>(() => assets.map((s) => ({ symbol: s })), [assets]); | ||
const { setOrderBy, sortData, direction: sortDirection, isActive: sortActive } = useSorting<TableRow>(); | ||
const tempRows = isLoading ? defaultRows : rows; | ||
|
||
const getRateType = useCallback((maturity: bigint | undefined) => { | ||
if (maturity === undefined) return 'floating'; |
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.
minor: it could be
if (maturity === undefined) return 'floating'; | |
return !!maturity ? 'fixed' : 'floating' |
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |