Skip to content

Commit

Permalink
fix: update CONTRACT_METHODS_LABELS
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Jan 18, 2024
1 parent 21b3bbf commit 23912f1
Showing 1 changed file with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
import { Card, Tabs } from "@axelarjs/ui";
import { FC, useState } from "react";
import { useState, type FC, type ReactNode } from "react";

import { useAccount } from "wagmi";

import RecentTransactionsList from "./RecentTransactionsList";
import { CONTRACT_METHODS, type ContractMethod } from "./types";

export const CONTRACT_METHODS_LABELS: Partial<Record<ContractMethod, string>> =
{
InterchainTransfer: "Interchain Transfer",
InterchainTokenDeploymentStarted: "Token Deployment",
};
export const CONTRACT_METHODS_LABELS: Partial<
Record<ContractMethod, ReactNode>
> = {
InterchainTransfer: "Interchain Transfer",
InterchainTokenDeploymentStarted: (
<>
Interchain <span className="mx-1 hidden md:block">Token</span> Deployment
</>
),
};

type Props = {
maxTransactions?: number;
Expand Down

0 comments on commit 23912f1

Please sign in to comment.