From 23b87d6642174777718fdeabf99bd31266407304 Mon Sep 17 00:00:00 2001 From: Bohdan Ohorodnii Date: Thu, 23 Nov 2023 16:05:54 +0200 Subject: [PATCH] fix linting errors --- plugin/src/features/Deployment/index.tsx | 1 - plugin/src/types/transaction.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugin/src/features/Deployment/index.tsx b/plugin/src/features/Deployment/index.tsx index 5a4b2d67..3ac93a79 100644 --- a/plugin/src/features/Deployment/index.tsx +++ b/plugin/src/features/Deployment/index.tsx @@ -18,7 +18,6 @@ import { contractsAtom, selectedContractAtom } from '../../atoms/compiledContrac import { accountAtom, providerAtom } from '../../atoms/connection' import { deployedContractsAtom, deployedSelectedContractAtom } from '../../atoms/deployedContracts' import { envAtom } from '../../atoms/environment' -import { Chain, ChainFormatters } from 'viem' interface DeploymentProps { setActiveTab: (tab: AccordianTabs) => void diff --git a/plugin/src/types/transaction.ts b/plugin/src/types/transaction.ts index 8b6228a5..548b4d11 100644 --- a/plugin/src/types/transaction.ts +++ b/plugin/src/types/transaction.ts @@ -1,5 +1,5 @@ import { type Provider, type Signer, type Wallet } from 'zksync-web3' -import { type Chain, ChainFormatters } from 'viem' +import { type Chain, type ChainFormatters } from 'viem' export type EnvType = 'localDevnet' | 'remoteDevnet' | 'wallet' | 'manual' @@ -21,9 +21,9 @@ export const mockManualChain: Chain = { }, rpcUrls: { default: - {http: [''], webSocket: ['']}, + { http: [''], webSocket: [''] }, public: - {http: [''], webSocket: ['']}, + { http: [''], webSocket: [''] } }, network: 'testnet', name: 'testnet',