Skip to content

Commit

Permalink
fix: disable eth for non wETH vault & fix zapWith
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Nov 17, 2023
1 parent 5c1a4d2 commit bb8f332
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/vaults/contexts/useActionFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,9 @@ export function ActionFlowContextApp({
if (!tokenListData) {
return;
}
if (tokenData.address === ETH_TOKEN_ADDRESS && !isWithWETH) {
return;
}

const duplicateAddresses = [
isWithWETH ? WETH_TOKEN_ADDRESS : null,
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit bb8f332

Please sign in to comment.