-
Notifications
You must be signed in to change notification settings - Fork 0
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: chain table #12
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/components/Table.tsx
Outdated
<STableRow key={index} onClick={() => handleChainNavigation(data.chainId)}> | ||
<LogoCell sx={{ width: '60%' }}> | ||
<ChainAvatar alt={`${data.chainName} logo`} src={data.iconUrl} /> | ||
<Typography>{data.chainName}</Typography> | ||
{!data.rpc && <InfoTag information={t('HOME.DASHBOARD.noRPC')} />} | ||
{!data.metadata && <InfoTag information={t('HOME.DASHBOARD.noMetadata')} />} | ||
</LogoCell> | ||
<STableCell sx={{ width: '10%' }}>{data.chainId}</STableCell> | ||
<LogoCell sx={{ width: '10%' }}> | ||
<TokenAvatar alt={`${data.nativeToken} logo`} src={data.tokenImgUrl} /> | ||
<Typography>{data.nativeToken}</Typography> | ||
</LogoCell> | ||
<STableCell sx={{ width: '10%' }}>{formatDataNumber(data.tvl, 0, true)}</STableCell> | ||
<STableCell sx={{ width: '10%' }}>{data.chainType}</STableCell> |
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.
Some comments to identify the different sections and more vertical spacing would be great
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.
No description provided.