From 0be745c9e37895269661fb554a400dbca8285fae Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Tue, 16 Jul 2024 16:29:53 -0700 Subject: [PATCH] fix: lint --- src/{transaction/core => network}/getChainExplorer.ts | 0 src/transaction/core/useGetTransactionStatus.tsx | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{transaction/core => network}/getChainExplorer.ts (100%) diff --git a/src/transaction/core/getChainExplorer.ts b/src/network/getChainExplorer.ts similarity index 100% rename from src/transaction/core/getChainExplorer.ts rename to src/network/getChainExplorer.ts diff --git a/src/transaction/core/useGetTransactionStatus.tsx b/src/transaction/core/useGetTransactionStatus.tsx index 29b09ff177..2f13646517 100644 --- a/src/transaction/core/useGetTransactionStatus.tsx +++ b/src/transaction/core/useGetTransactionStatus.tsx @@ -2,7 +2,7 @@ import { useMemo } from 'react'; import { useTransactionContext } from '../components/TransactionProvider'; import { cn, color, text } from '../../styles/theme'; import { useOnchainKit } from '../../useOnchainKit'; -import { getChainExplorer } from './getChainExplorer'; +import { getChainExplorer } from '../../network/getChainExplorer'; import type { ReactNode } from 'react'; export function useGetTransactionStatus() { @@ -13,13 +13,13 @@ export function useGetTransactionStatus() { const chainExplorer = getChainExplorer(chain.id); let actionElement: ReactNode = null; - let label: string = ''; + let label = ''; let labelClassName: string = color.foregroundMuted; if (isLoading) { label = 'Transaction in progress...'; actionElement = ( - + View on explorer