Skip to content

Commit

Permalink
feat(unlock-app): using relay by default (#15129)
Browse files Browse the repository at this point in the history
using relay by default
  • Loading branch information
julien51 authored Nov 26, 2024
1 parent dc4f879 commit dc115ba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions unlock-app/src/hooks/useCrossChainRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ export const useCrossChainRoutes = ({

const xchainApi = useSearchParam('xchain')
const prepareSharedParams =
xchainApi === 'relay'
? prepareRelayLinkSharedParams
: prepareDecentSharedParams
xchainApi === 'decent'
? prepareDecentSharedParams
: prepareRelayLinkSharedParams
const getCrossChainRoute =
xchainApi === 'relay'
? getRelayLinkCrossChainRoute
: getDecentCrossChainRoute
xchainApi === 'decent'
? getDecentCrossChainRoute
: getRelayLinkCrossChainRoute

const { account } = useAuthenticate()
const web3Service = useWeb3Service()
Expand Down

0 comments on commit dc115ba

Please sign in to comment.