Skip to content

Commit

Permalink
feat: nft token transaction pagination (#25)
Browse files Browse the repository at this point in the history
* feat: nft token transactions pagination

* fix: revert package

* fix: text and hyperlink for from address
  • Loading branch information
ruitran authored Nov 30, 2022
1 parent 3f16f89 commit dfe0728
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions views/tokens/[instance]/tabs/NftTransfers/NftTransfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ const NftTransfer = ({ transaction, tokenData }: Props) => {
{transaction.fromAddress && (
<>
<span className={clsx('contrast-color-30 margin-right-xs text text-sm')}>From</span>
<span className="contrast-color-70 margin-right-lg money-2xs money">
<LinkText href={LinkMaker.address(transaction.fromAddress)}>
{evmAddressName(
transaction.fromAddressName,
ellipseBetweenText(transaction.fromAddress, 6, 6)
)}
</span>
</LinkText>
</>
)}
{transaction.toAddress && (
Expand Down
2 changes: 1 addition & 1 deletion views/tokens/[instance]/tabs/NftTransfers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const NftTransferTab = ({ token, tokenData, tokenId }: Props) => {
return (
<div>
<Row style={{ justifyContent: 'space-between' }} classes="padding-xl">
<span className="text text-xl">Transactions</span>
<span className="text text-xl">Token Transfers</span>
<div>
{/* Select Component */}
<PaginationLite currentPage={currentPage} hasNext={hasNextPage} onChange={onPagingChange} />
Expand Down

0 comments on commit dfe0728

Please sign in to comment.