Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed Mar 19, 2024
1 parent 1982191 commit 143d869
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/providers/NetworkConfig/web3-modal.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
}
6 changes: 1 addition & 5 deletions src/providers/Providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"jsx": "preserve",
"incremental": true
},
"exclude": ["docker", "netlify/functions",],
"exclude": ["docker", "netlify/functions"],
"include": ["src", "tests", "test", "app", "vite.config.mts"]
}

0 comments on commit 143d869

Please sign in to comment.