Skip to content

Commit

Permalink
Add WC id to clouflare deployment (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut authored Sep 7, 2023
1 parent 999f748 commit 1d2d4e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-ui-cf-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- run: corepack enable
- run: yarn install --immutable
- run: yarn build
env:
VITE_WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID }}
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/contexts/WalletConnectContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const WalletConnectContextProvider = ({ children }: WalletConnectContextProps) =
const core = useMemo(
() =>
new Core({
logger: 'debug',
logger: 'info',
projectId: import.meta.env.VITE_WALLETCONNECT_PROJECT_ID
// relayUrl: relayerRegionURL ?? import.meta.env.VITE_WALLETCONNECT_PUBLIC_RELAY_URL
}),
Expand Down

0 comments on commit 1d2d4e3

Please sign in to comment.