Skip to content

Commit

Permalink
fix: enable ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
williamluke4 committed Apr 17, 2024
1 parent 1b8522f commit f6211d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ const connectors = connectorsForWallets(
export const config = process.env.NEXT_PUBLIC_TESTNET
? createConfig({
connectors: connectors,
ssr: true,
chains: [celoAlfajores],
transports: {
[celoAlfajores.id]: http(),
},
})
: createConfig({
connectors: connectors,

ssr: true,
chains: [celo],
transports: {
[celo.id]: http(),
Expand Down

0 comments on commit f6211d5

Please sign in to comment.