Skip to content

Commit

Permalink
remove env.prod, fix walletconnect id
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalsine85 committed Jul 12, 2023
1 parent fc98a18 commit ccf2d37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .env.production

This file was deleted.

2 changes: 1 addition & 1 deletion src/bao/lib/connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const injected = new InjectedConnector({
})

export const walletConnect = new WalletConnectV2Connector({
projectId: '1ecf17999639b9fe3f94eed0ef97286b',
projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECTID,
rpcMap: RPC_URLS,
chains: [1],
showQrModal: true,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/walletconntectV2Connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class WalletConnectV2Connector extends AbstractConnector {
activate = async (): Promise<ConnectorUpdate<string | number>> => {
const provider = await import('@walletconnect/ethereum-provider').then(module => {
return module.default.init({
projectId: '1ecf17999639b9fe3f94eed0ef97286b',
projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECTID,
rpcMap: RPC_URLS,
chains: [1],
showQrModal: true,
Expand Down

0 comments on commit ccf2d37

Please sign in to comment.