Skip to content

Commit

Permalink
chore: bump router sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
codingki committed May 24, 2024
1 parent 613aa78 commit 4babeb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tooltip": "^1.0.7",
"@sentry/nextjs": "^7.99.0",
"@skip-router/core": "4.0.0",
"@skip-router/core": "4.0.1",
"@solana/spl-token": "^0.4.1",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-wallets": "^0.19.31",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SwapWidget/useSwapWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export function useSwapWidget() {
return denom === srcFeeAsset?.denom;
});

if (!feeDenomPrices) {
if (!feeDenomPrices || !feeDenomPrices.gasPrice) {
toast.error(`Unable to find gas prices for ${srcFeeAsset.denom} on ${srcChain.chainName}`);
return;
}
Expand Down

0 comments on commit 4babeb1

Please sign in to comment.