diff --git a/src/app/(app)/dashboard/mint/(home)/page.tsx b/src/app/(app)/dashboard/mint/(home)/page.tsx index 0cfaabf5..4014e82d 100644 --- a/src/app/(app)/dashboard/mint/(home)/page.tsx +++ b/src/app/(app)/dashboard/mint/(home)/page.tsx @@ -7,7 +7,6 @@ export default function MintPage() { return (
-

Mint

((set) => ({ const tasks = [...state.tasks]; if (status === "error" || isEmpty(name)) { const lastTaskIndex = tasks.length - 1; - const newContent = isEmpty(content) - ? tasks[lastTaskIndex].content - : tasks[lastTaskIndex].content + ` : ${content}`; if (lastTaskIndex >= 0) { tasks[lastTaskIndex] = { ...tasks[lastTaskIndex], status, - content: newContent, }; } } else { diff --git a/src/components/common/icons.tsx b/src/components/common/icons.tsx index 372b518b..43819269 100644 --- a/src/components/common/icons.tsx +++ b/src/components/common/icons.tsx @@ -1,10 +1,5 @@ -/* eslint-disable @typescript-eslint/no-unused-vars */ import { - ArrowRight, - CircuitBoard, Globe, - House, - ImagePlus, LayoutGrid, LucideIcon, LucideProps, @@ -20,13 +15,12 @@ import { IconType } from "react-icons"; import { FaYoutube } from "react-icons/fa"; import { TiHome } from "react-icons/ti"; import { FaToolbox } from "react-icons/fa6"; -import { SiCoinmarketcap } from "react-icons/si"; export type Icon = LucideIcon | IconType; export const Icons = { arrowRight: ({ ...props }: LucideProps) => { return ( - + ( - + - - - - {title} + + {isOpen === true && ( + {title} + )} diff --git a/src/services/blockchain/getWalletAssets.ts b/src/services/blockchain/getWalletAssets.ts index a5eacefa..35b576b2 100644 --- a/src/services/blockchain/getWalletAssets.ts +++ b/src/services/blockchain/getWalletAssets.ts @@ -16,6 +16,7 @@ export async function getWalletAssets({ try { const assetsAddress = await koiosFetcher.fetchAssetsFromAddress(walletAddress); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const totalPage = Math.ceil(assetsAddress.length / Number(pageSize)); const assetsSlice = [...assetsAddress].slice( (Number(page) - 1) * Number(pageSize), diff --git a/src/utils/convert-metadata.ts b/src/utils/convert-metadata.ts index a82f4304..bf963237 100644 --- a/src/utils/convert-metadata.ts +++ b/src/utils/convert-metadata.ts @@ -11,6 +11,7 @@ import cbor from "cbor"; */ export async function converMetadata( datum: string, + // eslint-disable-next-line @typescript-eslint/no-unused-vars key?: string, ): Promise { try {