Skip to content

Commit

Permalink
Centrifuge App: Fix asset class (#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser authored Oct 20, 2023
1 parent 3c1a918 commit 432b726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/InvestmentsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Token: React.VFC<{ investment: AccountTokenBalance }> = ({ investment }) =
const AssetClass: React.VFC<{ investment: AccountTokenBalance }> = ({ investment }) => {
const pool = usePool(investment.poolId)
const { data: metadata } = usePoolMetadata(pool)
return <>{metadata?.pool?.asset.class}</>
return <>{metadata?.pool?.asset.subClass}</>
}

const TokenBalance: React.VFC<{ investment: AccountTokenBalance }> = ({ investment }) => {
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/TokenList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const AssetClass: React.VFC<RowProps> = ({ token }) => {
const { data: metadata, isLoading } = usePoolMetadata({ id: token.poolId, metadata: token.poolMetadata })
return (
<TextWithPlaceholder isLoading={isLoading} variant="body2">
{metadata?.pool?.asset.class}
{metadata?.pool?.asset.subClass}
</TextWithPlaceholder>
)
}

0 comments on commit 432b726

Please sign in to comment.