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

fix: sip10 tokens ledger send form #4492

Merged
merged 1 commit into from
Nov 8, 2023
Merged

fix: sip10 tokens ledger send form #4492

merged 1 commit into from
Nov 8, 2023

Conversation

alter-eggo
Copy link
Contributor

@alter-eggo alter-eggo commented Nov 8, 2023

Try out this version of Leather — download extension builds.

Fix broken sip10 tokens send flow in ledger mode

Copy link
Collaborator

@kyranjamie kyranjamie left a comment

Choose a reason for hiding this comment

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

Thanks for fixing @alter-eggo.

Separately, let's think of a solution for this that doesn't involve any whenWallet logic. Better than these components are rendered conditionally based on the existence of a key, rather than wallet type.

But, as this is a P1, let's merge and release this ASAP.

Comment on lines 27 to 28
{hasStacksKeys && <StacksFungibleTokenAssetList assetBalances={stacksFtAssetBalances} />}
</>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is hasStacksKeys needed? We pass the assetBalances to this component, and we could only ever know what they are if the user does have stacks keys.

Copy link
Contributor Author

@alter-eggo alter-eggo Nov 8, 2023

Choose a reason for hiding this comment

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

yeah, checked, there is no need in hasStacksKeys here

@kyranjamie
Copy link
Collaborator

Also please amend commit with ref to #4491

@alter-eggo alter-eggo added this pull request to the merge queue Nov 8, 2023
Merged via the queue into dev with commit 1bd7837 Nov 8, 2023
26 checks passed
@alter-eggo alter-eggo deleted the fix/sip10-ledger branch November 8, 2023 08:26
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