Skip to content

Commit

Permalink
fix(wallet): fix missing Solana tokens in Swap V2 (uplift to 1.48.x) (#…
Browse files Browse the repository at this point in the history
…17107)

Uplift of #17101 (squashed) to release
  • Loading branch information
brave-builds authored Feb 10, 2023
1 parent 3d98c22 commit a76e8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/brave_wallet_ui/page/screens/swap/swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const Swap = () => {

const tokensList = React.useMemo(() => {
return [
...userVisibleTokensInfo.filter(asset => asset.isErc20),
...userVisibleTokensInfo.filter(asset => asset.contractAddress !== ''),
...fullTokenList.filter(
asset =>
!userVisibleTokensInfo.some(
Expand Down

0 comments on commit a76e8a3

Please sign in to comment.