Skip to content

Commit

Permalink
attempting fix on prod for swapping on base network
Browse files Browse the repository at this point in the history
  • Loading branch information
scermat committed Sep 13, 2024
1 parent 4dc4385 commit fcb2f8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web-portal/frontend/components/swap/Swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ export default function Swap() {
const { data: tokenList } = useTokenList({ chainId: selectedChainId });
const defaultToken = _.first(tokenList) as IToken;

console.log('selectedChainId', selectedChainId);
console.log('supportedChains', supportedChains);

const exchangeProxy = _.get(
_.find(supportedChains, { id: selectedChainId }),
_.find(supportedChains, { id: selectedChainId.toString() }),
"exchangeProxy",
) as unknown as Address;

Expand Down

0 comments on commit fcb2f8e

Please sign in to comment.