Skip to content

Commit

Permalink
merge 223
Browse files Browse the repository at this point in the history
  • Loading branch information
devchenyan committed Jul 30, 2023
2 parents b79ebb4 + bef7a57 commit 3df4484
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
8 changes: 7 additions & 1 deletion packages/neuron-ui/src/components/SpecialAssetList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import SUDTMigrateToExistAccountDialog from 'components/SUDTMigrateToExistAccoun
import PageContainer from 'components/PageContainer'
import NFTSend from 'components/NFTSend'
import Tooltip from 'widgets/Tooltip'
import TableNoData from 'widgets/Icons/TableNoData.png'
import { useGetAssetAccounts, getSpecialAssetColumnInfo } from './hooks'

import styles from './specialAssetList.module.scss'
Expand Down Expand Up @@ -505,7 +506,12 @@ const SpecialAssetList = () => {
noDataContent={t('overview.no-recent-activities')}
/>
) : null}
{totalCount || !loaded ? null : <div className={styles.noItems}>{t('special-assets.no-special-assets')}</div>}
{totalCount || !loaded ? null : (
<div className={styles.noRecords}>
<img src={TableNoData} alt="No Data" />
{t('special-assets.no-special-assets')}
</div>
)}

<div className={styles.pagination}>
{totalCount ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
}
}

.noItems {
@include medium-text;
padding: 20px 13px;
.noRecords {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 8px;
margin-top: 150px;
font-size: 14px;
}

.migrateSelectDialog {
Expand Down

0 comments on commit 3df4484

Please sign in to comment.