Skip to content

Commit

Permalink
added assetName
Browse files Browse the repository at this point in the history
  • Loading branch information
adnansahovic committed Sep 26, 2022
1 parent 6fa2d84 commit b19e5dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ui/components/ui/nft-info/nft-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import Identicon from '../identicon';
import Button from '../button';

export default function NftInfo({ tokenName, tokenAddress, tokenId }) {
export default function NftInfo({ assetName, tokenAddress, tokenId }) {
const t = useContext(I18nContext);

return (
Expand All @@ -31,7 +31,7 @@ export default function NftInfo({ tokenName, tokenAddress, tokenId }) {
variant={TYPOGRAPHY.H6}
marginTop={4}
>
{tokenName}
{assetName}
</Typography>
<Typography
variant={TYPOGRAPHY.H7}
Expand All @@ -58,7 +58,7 @@ export default function NftInfo({ tokenName, tokenAddress, tokenId }) {
}

NftInfo.propTypes = {
tokenName: PropTypes.string,
assetName: PropTypes.string,
tokenAddress: PropTypes.string,
tokenId: PropTypes.string,
};
4 changes: 2 additions & 2 deletions ui/components/ui/nft-info/nft-info.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
title: 'Components/UI/NftInfo',
id: __filename,
argTypes: {
tokenName: {
assetName: {
control: { type: 'text' },
},
tokenAddress: {
Expand All @@ -16,7 +16,7 @@ export default {
},
},
args: {
tokenName: 'Catnip Spicewight',
assetName: 'Catnip Spicewight',
tokenAddress: '0xa3aee8bce55beea1951ef834b99f3ac60d1abeeb',
tokenId: '112233',
},
Expand Down

0 comments on commit b19e5dd

Please sign in to comment.