Skip to content

Commit

Permalink
fix: console
Browse files Browse the repository at this point in the history
  • Loading branch information
impelcrypto committed Nov 27, 2024
1 parent 1402fc3 commit 7f1b2db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/bridge/useCcipBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ export const useCcipBridge = () => {

const setIsGasPayable = async (): Promise<void> => {
try {
if (!currentAccount.value) return;
if (!currentAccount.value || (!isToSoneium.value && !isApproved.value)) return;

isLoadingGasPayable.value = true;
const ccipBridgeService = container.get<ICcipBridgeService>(Symbols.CcipBridgeService);
const amount = bridgeAmt.value ? Number(bridgeAmt.value) : 0.00001;
Expand Down

0 comments on commit 7f1b2db

Please sign in to comment.