Skip to content

Commit

Permalink
Merge pull request #132 from axelarnetwork/fix/canonical-label
Browse files Browse the repository at this point in the history
chore: fix label for canonical tokens
  • Loading branch information
canhtrinh authored Jan 13, 2024
2 parents 1f1800e + df1af11 commit 2417530
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ const TokenDetailsSection: FC<TokenDetailsSectionProps> = (props) => {
<section className="grid gap-6">
<div className="flex items-center justify-between">
<div className="flex flex-wrap items-center gap-2 text-2xl font-bold">
<span className="hidden sm:inline">
{props.kind === "canonical" && "Canonical"} Interchain Token{" "}
</span>
<span className="hidden sm:inline">Interchain Token </span>
{Boolean(props.name && props.symbol) && (
<>
<span className="hidden sm:inline">&middot;</span>
Expand All @@ -90,6 +88,13 @@ const TokenDetailsSection: FC<TokenDetailsSectionProps> = (props) => {
<ExternalLinkIcon className="h-4 w-4 translate-x-1" />
</LinkButton>
</div>

{props.kind === "canonical" && (
<div className="italic">
{" "}
This is a wrapped token deployed via ITS, powered by Axelar
</div>
)}
<ul className="grid gap-1.5">
{sanitizedTokenDetails.map(([label, value]) => (
<li key={String(label)} className="flex items-center gap-2 text-sm">
Expand Down

2 comments on commit 2417530

@vercel
Copy link

@vercel vercel bot commented on 2417530 Jan 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

axelar-ui – ./packages/ui

ui.axelar.dev
axelar-ui-git-main-axelar-network.vercel.app
axelar-ui-axelar-network.vercel.app
axelar-ui.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2417530 Jan 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

axelar-registry – ./apps/registry

axelar-registry-git-main-axelar-network.vercel.app
axelar-registry-axelar-network.vercel.app

Please sign in to comment.