Skip to content

Commit

Permalink
fix: typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Jan 9, 2025
1 parent 7b47c7f commit ed2d63d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions webapp/src/modules/ens/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ export function* ensSaga() {
const { AxelarProvider }: Awaited<typeof crossChainModule> = (yield crossChainModule) as Awaited<typeof crossChainModule>

const crossChainProvider = new AxelarProvider(config.get('SQUID_API_URL'))
const txResponse: ethers.providers.TransactionReceipt = yield call([crossChainProvider, 'executeRoute'], route, provider) as Awaited<
ReturnType<typeof crossChainProvider.executeRoute>
>
const txResponse: ethers.providers.TransactionReceipt = (yield call(
[crossChainProvider, 'executeRoute'],
route,
provider
)) as ethers.providers.TransactionReceipt

yield put(claimNameTransactionSubmitted(name, wallet.address, chainId, txResponse.transactionHash, route))
} catch (error) {
Expand Down

0 comments on commit ed2d63d

Please sign in to comment.