Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/update package #451

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open

Feat/update package #451

wants to merge 10 commits into from

Conversation

guru-web3
Copy link
Member

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Other information

.reduce((acc: SolanaToken[], current: TokenInfo) => {
const userToken = this.userTokens.find((token) => token.mintAddress === current.address);

if (userToken?.balance) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if userToken.balance === 0 , we should not add new customToken to the display
else we will see 2 token with same address and balance 0 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants