Skip to content

Commit

Permalink
fixing getDefaultConnectors args in example code (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnybones1 authored Dec 12, 2024
1 parent c11111f commit 5eb283c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/pages/guides/custom-marketplace.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const chains = [arbitrumSepolia] as [Chain, ...Chain[]]
const projectAccessKey = process.env.REACT_APP_PROJECTACCESSKEY!;
const walletConnectProjectId = process.env.REACT_APP_WALLETCONNECTID!;

const connectors = getDefaultConnectors({
const connectors = getDefaultConnectors( "universal", {
walletConnectProjectId: walletConnectProjectId,
defaultChainId: 421614,
appName: 'demo app',
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/guides/webgl-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function App(props) {
const chains = [arbitrumSepolia];
const projectAccessKey = process.env.PROJECT_ACCESS_KEY;

const connectors = getDefaultConnectors({
const connectors = getDefaultConnectors( "universal", {
walletConnectProjectId: process.env.WALLET_CONNECT_ID,
defaultChainId: 421614,
appName: "demo app",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ import { getDefaultConnectors } from '@0xsequence/kit'
...
export const projectAccessKey = '<access-key>'

const connectors = getDefaultConnectors({
const connectors = getDefaultConnectors( "universal", {
walletConnectProjectId: 'wallet-connect-id',
defaultChainId: 1,
appName: 'demo app',
Expand Down

0 comments on commit 5eb283c

Please sign in to comment.