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

bugfix: Token listed multiple times without account details in Receive flow #8743

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mcayuelas-ledger
Copy link
Contributor

@mcayuelas-ledger mcayuelas-ledger commented Dec 20, 2024

✅ Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

📝 Description

Token listed multiple times without account details in Receive flow

Screen_Recording_20241220_102442_LL.DEV.mp4
Screen_Recording_20241220_102516_LL.DEV.mp4

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@mcayuelas-ledger mcayuelas-ledger requested a review from a team as a code owner December 20, 2024 09:48
Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Dec 23, 2024 9:12am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 23, 2024 9:12am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 23, 2024 9:12am
web-tools ⬜️ Ignored (Inspect) Visit Preview Dec 23, 2024 9:12am

@live-github-bot live-github-bot bot added the mobile Has changes in LLM label Dec 20, 2024
@@ -39,9 +41,11 @@ const AccountCard = ({
...props
Copy link
Contributor

Choose a reason for hiding this comment

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

You can remove parentAccount from the props since you don't use it anymore

Copy link
Contributor

@LucasWerey LucasWerey Dec 20, 2024

Choose a reason for hiding this comment

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

update it here too apps/ledger-live-mobile/src/newArch/features/Web3Hub/screens/Web3HubApp/components/Web3Player/SelectAccountModal/AccountsList/index.tsx and apps/ledger-live-mobile/src/screens/RequestAccount/02-SelectAccount.tsx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's used direclty inside component :) So no need to update other file

btw i'll update logic because maybe in some cases parentAccount will not be undefined

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

Successfully merging this pull request may close these issues.

2 participants