New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename "API Providers" to "Providers" #453
Changes from 2 commits
2333f02
f7c5134
1c61464
089f7fb
7e30dba
3ac27fd
77150d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
import * as React from 'react' | ||
|
||
import { Provider, configureChains, createClient, defaultChains } from 'wagmi' | ||
import { | ||
WagmiProvider, | ||
configureChains, | ||
createClient, | ||
defaultChains, | ||
} from 'wagmi' | ||
|
||
import { CoinbaseWalletConnector } from 'wagmi/connectors/coinbaseWallet' | ||
import { InjectedConnector } from 'wagmi/connectors/injected' | ||
import { MetaMaskConnector } from 'wagmi/connectors/metaMask' | ||
import { WalletConnectConnector } from 'wagmi/connectors/walletConnect' | ||
|
||
import { alchemyProvider } from '../../../packages/core/apiProviders/alchemy' | ||
import { alchemyProvider } from '../../../packages/core/providers/alchemy' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we import this from the wagmi package entrypoint? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm, tried to do this, but it was yelling at me There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed now |
||
|
||
const alchemyId = process.env.NEXT_PUBLIC_ALCHEMY_ID | ||
|
||
|
@@ -45,5 +50,5 @@ type Props = { | |
} | ||
|
||
export function Providers({ children }: Props) { | ||
return <Provider client={client}>{children}</Provider> | ||
return <WagmiProvider client={client}>{children}</WagmiProvider> | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shite