Skip to content

Commit

Permalink
negate the condition for poollingInterval in config for hardhat
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Apr 10, 2024
1 parent 44c0835 commit 643d061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/services/web3/wagmiConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const wagmiConfig = createConfig({
return createClient({
chain,
transport: http(getAlchemyHttpUrl(chain.id)),
...(chain.id === (hardhat as Chain).id
...(chain.id !== (hardhat as Chain).id
? {
pollingInterval: scaffoldConfig.pollingInterval,
}
Expand Down

0 comments on commit 643d061

Please sign in to comment.