-
Notifications
You must be signed in to change notification settings - Fork 20
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
base: develop
Are you sure you want to change the base?
Feat/update package #451
Conversation
feat: custom token
feat: import token confirmation popup for spl tokens
.reduce((acc: SolanaToken[], current: TokenInfo) => { | ||
const userToken = this.userTokens.find((token) => token.mintAddress === current.address); | ||
|
||
if (userToken?.balance) { |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes the below line ignores if the user has balance for that token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
can merge after controller rebase is resolved
fix: refresh token and import tag
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Other information