Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: remove double quoting
  • Loading branch information
priyajeet committed Sep 17, 2025
commit 3f9bd06d1eca37eb5161d9476c0c7fc0ae0f9626
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ tsconfig.tsbuildinfo

# Local Netlify folder
.netlify
.vscode
.ignore
.yalc
yalc.lock
Expand Down
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.requireConfig": true,
"workbench.colorCustomizations": {
"activityBar.background": "#02072d",
"titleBar.activeBackground": "#000285",
"titleBar.activeForeground": "#dae6f9"
}
}
23 changes: 11 additions & 12 deletions src/hooks/useConfirmTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,17 @@ const useConfirmTransaction = (props: Props): ReturnProps => {
);
}

const [sdkRoute, receipt] = await config.routes
.get(route)
.send(
sourceToken,
amount,
sourceChain,
signer,
destChain,
receivingWallet.address,
destToken,
{ nativeGas: toNativeToken },
);
const [sdkRoute, receipt] = await config.routes.execute(
route,
sourceToken,
amount,
sourceChain,
signer,
destChain,
receivingWallet.address,
destToken,
{ nativeGas: toNativeToken },
);

// Clear cached balances on sending chain
clearBalanceCache(sendingWallet, sourceChain);
Expand Down
5 changes: 4 additions & 1 deletion src/hooks/useFetchQuotes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ export default (routes: string[], params: Params): HookReturn => {
return;
}

const nextExpiry = config.routes.quoteCache.nextExpiry(routes, rParams);
const nextExpiry = config.routes.quoteMetadataCache.nextExpiry(
routes,
rParams,
);

if (!nextExpiry) {
return;
Expand Down
Loading