Skip to content

Commit d5ae566

Browse files
fix(frontend): fees estimate on priority change (#680)
1 parent 068240c commit d5ae566

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/frontend/src/features/swap/hooks/vara/use-vara-txs-estimate.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function useVaraTxsEstimate({
7171
debouncedAmount,
7272
debouncedAccountAddress,
7373
shouldPayBridgingFee,
74+
shouldPayPriorityFee,
7475
token?.address,
7576
account?.address,
7677
],
@@ -80,6 +81,7 @@ function useVaraTxsEstimate({
8081
enabled:
8182
!isUndefined(bridgingFee) &&
8283
!isUndefined(vftManagerFee) &&
84+
!isUndefined(priorityFee) &&
8385
Boolean(api && formValues && token && prepareTxs) &&
8486
isAccountReady,
8587
});

0 commit comments

Comments
 (0)