Skip to content

Commit

Permalink
Fix collection creator address format (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitayutanov authored Jul 2, 2024
1 parent ed7dfa0 commit b68e614
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion frontend/src/pages/collection/collection.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { getVaraAddress } from '@gear-js/react-hooks';
import { generatePath, useParams } from 'react-router-dom';

import { Breadcrumbs, Container, InfoCard, List } from '@/components';
Expand Down Expand Up @@ -57,7 +58,14 @@ function Collection() {
<img src={getIpfsLink(collection.collectionLogo)} alt="" className={styles.logo} />

<div className={styles.cards}>
<InfoCard heading="Creator" text={collection.admin} SVG={UserSVG} color="light" textOverflow />
<InfoCard
heading="Creator"
text={getVaraAddress(collection.admin)}
SVG={UserSVG}
color="light"
textOverflow
/>

<MintLimitInfoCard heading={collection.tokensLimit} text={nftsCount} color="light" />
</div>
</div>
Expand Down

0 comments on commit b68e614

Please sign in to comment.