From 143d869a040c63a60921fa84b47c821a30c8fa67 Mon Sep 17 00:00:00 2001 From: Kirill Klimenko Date: Tue, 19 Mar 2024 19:02:22 +0100 Subject: [PATCH] Prettier --- src/providers/NetworkConfig/web3-modal.config.ts | 4 ++-- src/providers/Providers.tsx | 6 +----- tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/providers/NetworkConfig/web3-modal.config.ts b/src/providers/NetworkConfig/web3-modal.config.ts index ab601f0cb4..afe0a48104 100644 --- a/src/providers/NetworkConfig/web3-modal.config.ts +++ b/src/providers/NetworkConfig/web3-modal.config.ts @@ -34,10 +34,10 @@ export const wagmiConfig = defaultWagmiConfig({ [sepolia.id]: http( `https://eth-sepolia.g.alchemy.com/v2/${import.meta.env.VITE_APP_ALCHEMY_SEPOLIA_API_KEY}`, ), - [polygon.id]: http() + [polygon.id]: http(), }, }); if (walletConnectProjectId) { createWeb3Modal({ wagmiConfig, projectId: walletConnectProjectId }); -} \ No newline at end of file +} diff --git a/src/providers/Providers.tsx b/src/providers/Providers.tsx index a260f6cc8f..946a94f97b 100644 --- a/src/providers/Providers.tsx +++ b/src/providers/Providers.tsx @@ -11,11 +11,7 @@ import { FractalErrorBoundary, initErrorLogging } from '../helpers/errorLogging' import { AppProvider } from './App/AppProvider'; import EthersContextProvider from './Ethers'; import { NetworkConfigProvider } from './NetworkConfig/NetworkConfigProvider'; -import { - wagmiConfig, - queryClient, -} from './NetworkConfig/web3-modal.config'; - +import { wagmiConfig, queryClient } from './NetworkConfig/web3-modal.config'; export default function Providers({ children }: { children: ReactNode }) { useEffect(() => { diff --git a/tsconfig.json b/tsconfig.json index 48b709820b..e517e40db2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,6 @@ "jsx": "preserve", "incremental": true }, - "exclude": ["docker", "netlify/functions",], + "exclude": ["docker", "netlify/functions"], "include": ["src", "tests", "test", "app", "vite.config.mts"] }