fix(wallet): NEXT_PUBLIC_RELAY_URL reference (#71)

This commit is contained in:
Hanwoong 2022-11-01 18:10:16 +09:00 committed by GitHub
parent 907d61cb50
commit fa06c7d911
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ export async function createSignClient(relayerRegionURL: string) {
signClient = await SignClient.init({ signClient = await SignClient.init({
logger: 'debug', logger: 'debug',
projectId: process.env.NEXT_PUBLIC_PROJECT_ID, projectId: process.env.NEXT_PUBLIC_PROJECT_ID,
relayUrl: relayerRegionURL ?? process.env.NEXT_PUBLIC_RELAYER_URL, relayUrl: relayerRegionURL ?? process.env.NEXT_PUBLIC_RELAY_URL,
metadata: { metadata: {
name: 'React Wallet', name: 'React Wallet',
description: 'React Wallet for WalletConnect', description: 'React Wallet for WalletConnect',