Skip to content

Commit

Permalink
remove filter to remove bpt from tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Nov 21, 2023
1 parent 1e2f7f5 commit 6813fbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/pool/lib/pool-gql-loader.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,7 @@ export class PoolGqlLoaderService {
investConfig: this.getPoolInvestConfig(pool),
withdrawConfig: this.getPoolWithdrawConfig(pool),
nestingType: this.getPoolNestingType(pool),
tokens: pool.tokens
.filter((token) => token.address !== pool.address)
.map((token) => this.mapPoolTokenToGqlUnion(token)),
tokens: pool.tokens.map((token) => this.mapPoolTokenToGqlUnion(token)),
allTokens: this.mapAllTokens(pool),
displayTokens: this.mapDisplayTokens(pool),
};
Expand Down

0 comments on commit 6813fbc

Please sign in to comment.